This commit is contained in:
t0is 2025-02-20 15:30:17 +01:00
parent 5cdc6b727d
commit 828bb60302
2 changed files with 5 additions and 33 deletions

View File

@ -1,41 +1,13 @@
services:
'scanner_{''name'': ''esfandtv'', ''language'': ''en''}':
scanner_esfandtv:
environment:
- CHANNEL_NAME=esfandtv
- CHANNEL_LANGUAGE=en
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
image: twitch-scanner:latest
volumes:
- ./clips:/app/clips
- ./transcripts:/app/transcripts
'scanner_{''name'': ''herdyn'', ''language'': ''cs''}':
environment:
- CHANNEL_NAME=herdyn
- CHANNEL_LANGUAGE=cs
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
image: twitch-scanner:latest
volumes:
- ./clips:/app/clips
- ./transcripts:/app/transcripts
'scanner_{''name'': ''kuruhs'', ''language'': ''en''}':
environment:
- CHANNEL_NAME=kuruhs
- CHANNEL_LANGUAGE=en
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
image: twitch-scanner:latest
volumes:
- ./clips:/app/clips
- ./transcripts:/app/transcripts
'scanner_{''name'': ''marty_vole'', ''language'': ''cs''}':
environment:
- CHANNEL_NAME=marty_vole
- CHANNEL_LANGUAGE=cs
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
image: twitch-scanner:latest
build:
context: .
volumes:
- ./clips:/app/clips
- ./models:/app/models
- ./transcripts:/app/transcripts

View File

@ -11,7 +11,7 @@ compose = {
# For each channel, create a service entry
for channel in channels:
service_name = f"scanner_{channel}"
service_name = f"scanner_{channel['name']}"
compose["services"][service_name] = {
"image": "twitch-scanner:latest",
"environment": [