Change to ytdl-stub-gui image
This commit is contained in:
1 parent
e2a17c795a
commit
1e49a57305
1 file changed
+7
-44
+7
-44
@@ -1,61 +1,24 @@
|
|||||||
services:
|
services:
|
||||||
init-configuration:
|
|
||||||
image: alpine:latest
|
|
||||||
container_name: podcast-init-configuration
|
|
||||||
user: '0:0'
|
|
||||||
environment:
|
|
||||||
TZ: ${TZ}
|
|
||||||
command: >
|
|
||||||
sh -c "cp -fu /sources/config.yaml /config &&
|
|
||||||
cp -fu /sources/subscriptions.yaml /config &&
|
|
||||||
chown -R 911:911 /config"
|
|
||||||
volumes:
|
|
||||||
- /var/lib/docker/volumes/hawser/stacks/podcasts/sources:/sources
|
|
||||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
|
||||||
restart: no
|
|
||||||
networks:
|
|
||||||
- podcastsnet
|
|
||||||
|
|
||||||
ytdl-sub:
|
ytdl-sub:
|
||||||
image: ghcr.io/jmbannon/ytdl-sub:latest
|
image: ghcr.io/jmbannon/ytdl-sub-gui:latest
|
||||||
container_name: ytdl-sub
|
container_name: ytdl-sub
|
||||||
depends_on:
|
|
||||||
init-configuration:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: "${PUID}:${PGID}"
|
user: "${PUID}:${PGID}"
|
||||||
environment:
|
environment:
|
||||||
TZ: ${TZ}
|
TZ: ${TZ}
|
||||||
|
CRON_SCHEDULE: "0 */6 * * *"
|
||||||
|
CRON_RUN_ON_START: "true"
|
||||||
|
UPDATE_YT_DLP_ON_START: stable
|
||||||
|
ports:
|
||||||
|
- "8443:8443"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
- /var/lib/docker/volumes/ytdl-sub/config:/config
|
||||||
- /network/dd6_datas/Podcasts:/media/podcasts
|
- /network/dd6_datas/Podcasts:/media/podcasts
|
||||||
command:
|
command:
|
||||||
- /config/subscriptions.yaml
|
- /config/subscriptions.yaml
|
||||||
networks:
|
networks:
|
||||||
- podcastsnet
|
- podcastsnet
|
||||||
|
|
||||||
cron:
|
|
||||||
image: alpine:latest
|
|
||||||
container_name: podcast-cron
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
init-configuration:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
environment:
|
|
||||||
TZ: ${TZ}
|
|
||||||
user: "${PUID}:${PGID}"
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
command: >
|
|
||||||
sh -c "
|
|
||||||
apk add --no-cache docker-cli &&
|
|
||||||
while true; do
|
|
||||||
docker exec ytdl-sub ytdl-sub /config/subscriptions.yaml;
|
|
||||||
sleep 21600;
|
|
||||||
done "
|
|
||||||
networks:
|
|
||||||
- podcastsnet
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
podcastsnet:
|
podcastsnet:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in new issue
Block a user