diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index b0b4126..afb0b72 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -31,6 +31,7 @@ schedulebot: false, tootbot: false, twitchbot: false, + bus_analyzer: false, }, // Twitch channels to capture. The first one will be used as the default channel in the editor. @@ -213,6 +214,9 @@ ], }, + // The channel to use for bus_analyzer + bus_channel:: "buscam", + zulip_url:: "https://chat.videostrike.team", schedulebot:: { @@ -559,6 +563,14 @@ environment: $.env, }, + [if $.enabled.bus_analyzer then "bus_analyzer"]: { + image: $.get_image("bus_analyzer"), + restart: "always", + command: [$.db_connect, $.bus_channel, "--base-dir", "/mnt"], + volumes: ["%s:/mnt" % $.segments_path], + environment: $.env, + }, + local bot_service(name, config, args, subcommand=null) = { image: $.get_image("zulip_bots"), restart: "always",