First version
This commit is contained in:
commit
9a5e16d077
4 files changed
+89
No files matched your search
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
|
||||
ytdl-sub:
|
||||
image: ghcr.io/jmbannon/ytdl-sub:latest
|
||||
container_name: ytdl-sub
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
user: "${PUID}:${PGID}"
|
||||
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
|
||||
volumes:
|
||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
||||
- ./media/podcasts:/media/podcasts
|
||||
|
||||
command:
|
||||
- /config/subscriptions.yaml
|
||||
|
||||
cron:
|
||||
image: alpine:latest
|
||||
|
||||
container_name: podcast-cron
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
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
|
||||
"
|
||||
Reference in new issue
Block a user