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,
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",

Loading…
Cancel
Save