From 0e3adfecb143535353fa6e12ac44800540ff1507 Mon Sep 17 00:00:00 2001 From: t0is Date: Sun, 23 Feb 2025 12:53:45 +0100 Subject: [PATCH] edits --- docker-compose.yml | 3 +-- generate-docker-compose.py | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index af832e7..ca6dda8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,5 @@ services: scanner_astatoro: - build: - context: . environment: - CHANNEL_NAME=astatoro - CHANNEL_LANGUAGE=sk @@ -9,6 +7,7 @@ services: - TIMEDELTA_DAYS_EXACT=true - TWITCH_CLIENT_ID=a0fuj6tm5ct79clvim9816orphqkov - TWITCH_CLIENT_SECRET=h7whj3yspxgj1909sgcafx6iz1p1es + image: madmonq-transcriptor-image:latest volumes: - /shared/transcriptor/clips:/app/clips - /shared/transcriptor/vods:/app/vods diff --git a/generate-docker-compose.py b/generate-docker-compose.py index e738226..c12f28c 100644 --- a/generate-docker-compose.py +++ b/generate-docker-compose.py @@ -13,9 +13,7 @@ compose = { for channel in channels: service_name = f"scanner_{channel['name']}" compose["services"][service_name] = { - "build": { - "context": "." - }, + "image": "madmonq-transcriptor-image:latest", "environment": [ f"CHANNEL_NAME={channel['name']}", f"CHANNEL_LANGUAGE={channel['language']}",