This commit is contained in:
Maciej Krok 2020-06-30 19:52:55 +02:00
parent 1216d3afd5
commit d969432d81
Signed by untrusted user who does not match committer: vonProteus
GPG Key ID: 65472F126055FF23

View File

@ -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:
@ -40,3 +56,5 @@ networks:
# echo $(htpasswd -nb user qwe321) | sed -e s/\\$/\\$\\$/g
# HOST
# BASICAUTHUSERS user:$$apr1$$UgzGZ8JC$$3XqsN3KQ6qz9hBZylFsb5/
# YTURL
# REGENERATERSSKEY