From 5c7061efd2234e90aff7745e0904e8b8217101e3 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Mon, 30 Oct 2023 23:01:05 +1100 Subject: [PATCH] docker-compose: Have chat-archiver archive all watched channels --- docker-compose.jsonnet | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 84563a9..7c0d8d8 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -185,9 +185,6 @@ ], 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 user: "dbvideostriketeam", token_path: "./chat_token.txt", @@ -528,7 +525,7 @@ [if $.enabled.chat_archiver then "chat_archiver"]: { image: $.get_image("chat_archiver"), 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], [if "chat_archiver" in $.ports then "ports"]: ["%s:8008" % $.ports.chat_archiver], environment: $.env,