edit
This commit is contained in:
parent
5cdc6b727d
commit
828bb60302
@ -1,41 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
'scanner_{''name'': ''esfandtv'', ''language'': ''en''}':
|
scanner_esfandtv:
|
||||||
environment:
|
environment:
|
||||||
- CHANNEL_NAME=esfandtv
|
- CHANNEL_NAME=esfandtv
|
||||||
- CHANNEL_LANGUAGE=en
|
- CHANNEL_LANGUAGE=en
|
||||||
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
|
- TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov
|
||||||
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
|
- TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es
|
||||||
image: twitch-scanner:latest
|
build:
|
||||||
volumes:
|
context: .
|
||||||
- ./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
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./clips:/app/clips
|
- ./clips:/app/clips
|
||||||
|
- ./models:/app/models
|
||||||
- ./transcripts:/app/transcripts
|
- ./transcripts:/app/transcripts
|
||||||
|
@ -11,7 +11,7 @@ compose = {
|
|||||||
|
|
||||||
# For each channel, create a service entry
|
# For each channel, create a service entry
|
||||||
for channel in channels:
|
for channel in channels:
|
||||||
service_name = f"scanner_{channel}"
|
service_name = f"scanner_{channel['name']}"
|
||||||
compose["services"][service_name] = {
|
compose["services"][service_name] = {
|
||||||
"image": "twitch-scanner:latest",
|
"image": "twitch-scanner:latest",
|
||||||
"environment": [
|
"environment": [
|
||||||
|
Loading…
Reference in New Issue
Block a user