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