From d969432d81e86c1ccb16cc326616c19f6eb7dfaa Mon Sep 17 00:00:00 2001 From: Maciej Krok <> Date: Tue, 30 Jun 2020 19:52:55 +0200 Subject: [PATCH] add yt2p --- podcast-generator/podcast-generator.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/podcast-generator/podcast-generator.yaml b/podcast-generator/podcast-generator.yaml index b179410..53b1ddb 100644 --- a/podcast-generator/podcast-generator.yaml +++ b/podcast-generator/podcast-generator.yaml @@ -2,7 +2,7 @@ version: '3.4' services: podcastgenerator: - image: podcastgenerator:arm + image: vonproteus/podcast-generator volumes: - app_data:/app/PodcastGenerator/appdata networks: @@ -24,6 +24,22 @@ services: traefik.frontend.headers.STSSeconds: 63072000 traefik.frontend.headers.STSIncludeSubdomains: "true" traefik.frontend.headers.STSPreload: "true" + yt2p: + image: vonproteus/youtube-to-podcast + environment: + YTURL: $YTURL + PGREGENERATERSSURL: "http://podcastgenerator/pg-cron.php?key=${REGENERATERSSKEY}" + HOST: ${HOST} + volumes: + - app_data:/data + networks: + - external + deploy: + mode: replicated + replicas: 1 + restart_policy: + condition: any + delay: 21h volumes: app_data: @@ -39,4 +55,6 @@ networks: ### Environment variables # echo $(htpasswd -nb user qwe321) | sed -e s/\\$/\\$\\$/g # HOST -# BASICAUTHUSERS user:$$apr1$$UgzGZ8JC$$3XqsN3KQ6qz9hBZylFsb5/ \ No newline at end of file +# BASICAUTHUSERS user:$$apr1$$UgzGZ8JC$$3XqsN3KQ6qz9hBZylFsb5/ +# YTURL +# REGENERATERSSKEY \ No newline at end of file