docker-compose: Have chat-archiver archive all watched channels

pull/353/head
Mike Lang 1 year ago committed by Mike Lang
parent 260293d40d
commit 5c7061efd2

@ -185,9 +185,6 @@
], ],
chat_archiver:: { chat_archiver:: {
// We currently only support archiving chat from one channel at once.
// This defaults to the first channel in the $.channels list.
channel: $.clean_channels[0],
// Twitch user to log in as and path to oauth token // Twitch user to log in as and path to oauth token
user: "dbvideostriketeam", user: "dbvideostriketeam",
token_path: "./chat_token.txt", token_path: "./chat_token.txt",
@ -528,7 +525,7 @@
[if $.enabled.chat_archiver then "chat_archiver"]: { [if $.enabled.chat_archiver then "chat_archiver"]: {
image: $.get_image("chat_archiver"), image: $.get_image("chat_archiver"),
restart: "always", restart: "always",
command: [$.chat_archiver.user, "/token", $.chat_archiver.channel, "--name", $.localhost], command: [$.chat_archiver.user, "/token", "--name", $.localhost] + $.clean_channels,
volumes: ["%s:/mnt" % $.segments_path, "%s:/token" % $.chat_archiver.token_path], volumes: ["%s:/mnt" % $.segments_path, "%s:/token" % $.chat_archiver.token_path],
[if "chat_archiver" in $.ports then "ports"]: ["%s:8008" % $.ports.chat_archiver], [if "chat_archiver" in $.ports then "ports"]: ["%s:8008" % $.ports.chat_archiver],
environment: $.env, environment: $.env,

Loading…
Cancel
Save