Add bus_analyzer to docker-compose

pull/361/head
Mike Lang 1 year ago committed by Mike Lang
parent 76daceff19
commit ce665047ac

@ -31,6 +31,7 @@
schedulebot: false, schedulebot: false,
tootbot: false, tootbot: false,
twitchbot: false, twitchbot: false,
bus_analyzer: false,
}, },
// Twitch channels to capture. The first one will be used as the default channel in the editor. // 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", zulip_url:: "https://chat.videostrike.team",
schedulebot:: { schedulebot:: {
@ -559,6 +563,14 @@
environment: $.env, 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) = { local bot_service(name, config, args, subcommand=null) = {
image: $.get_image("zulip_bots"), image: $.get_image("zulip_bots"),
restart: "always", restart: "always",

Loading…
Cancel
Save