From f45761c49ef096875cac7dadcf1f0a5a2f822bad Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sun, 11 Jul 2021 22:58:46 +1000 Subject: [PATCH] switch to new condor DB for season xii --- docker-compose.jsonnet | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 94c5ce0..4f3e9f3 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -92,7 +92,7 @@ dbname: "wubloader", }, - condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condor_x2", + condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condor_xii", // Other database arguments db_super_user:: "postgres", // only accessible from localhost @@ -195,7 +195,9 @@ "--base-dir", "/mnt", "--qualities", std.join(",", $.qualities), "--backdoor-port", std.toString($.backdoor_port), - ], + ] + (if $.condor_db == null then [] else [ + "--condor-db", $.condor_db, + ]), // Mount the segments directory at /mnt volumes: ["%s:/mnt" % $.segments_path], // If the application crashes, restart it.