First version
This commit is contained in:
1 parent
9a5e16d077
commit
59a5e66f6b
4 files changed
+67
-52
No files matched your search
+33
-12
@@ -1,38 +1,59 @@
|
|||||||
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"
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/hawser_stacks/_data/pdocasts/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: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}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
||||||
- ./media/podcasts:/media/podcasts
|
- /network/dd6_datas/Podcasts:/media/podcasts
|
||||||
|
|
||||||
command:
|
command:
|
||||||
- /config/subscriptions.yaml
|
- /config/subscriptions.yaml
|
||||||
|
networks:
|
||||||
|
- podcastsnet
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
|
||||||
container_name: podcast-cron
|
container_name: podcast-cron
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
TZ: ${TZ}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
command: >
|
command: >
|
||||||
sh -c "
|
sh -c "
|
||||||
apk add --no-cache docker-cli &&
|
apk add --no-cache docker-cli &&
|
||||||
while true; do
|
while true; do
|
||||||
docker exec ytdl-sub ytdl-sub /config/subscriptions.yaml;
|
docker exec ytdl-sub ytdl-sub /config/subscriptions.yaml;
|
||||||
sleep 21600;
|
sleep 21600;
|
||||||
done
|
done "
|
||||||
"
|
networks:
|
||||||
|
- podcastsnet
|
||||||
|
|
||||||
|
networks:
|
||||||
|
podcastsnet:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.62.0.0/24
|
||||||
@@ -1,13 +1,7 @@
|
|||||||
defaults:
|
defaults:
|
||||||
|
|
||||||
download_archive: /config/archive/downloaded.txt
|
download_archive: /config/archive/downloaded.txt
|
||||||
|
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
ignoreerrors: true
|
ignoreerrors: true
|
||||||
|
|
||||||
writeinfojson: true
|
writeinfojson: true
|
||||||
|
|
||||||
writethumbnail: true
|
writethumbnail: true
|
||||||
|
|
||||||
embedthumbnail: true
|
embedthumbnail: true
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
__preset__:
|
||||||
|
- podcast
|
||||||
|
|
||||||
|
A La French:
|
||||||
|
rss_url: https://feeds.acast.com/public/shows/a-la-french
|
||||||
|
output_options:
|
||||||
|
output_directory: /media/podcasts/Video/A La French
|
||||||
|
file_name: >
|
||||||
|
%(upload_date>%Y-%m-%d)s -
|
||||||
|
%(title)s.%(ext)s
|
||||||
|
|
||||||
|
Double Slash:
|
||||||
|
rss_url: https://double-slash.dev/podcast-rss-feed.xml
|
||||||
|
output_options:
|
||||||
|
output_directory: /media/podcasts/Video/Double Slash
|
||||||
|
file_name: >
|
||||||
|
%(upload_date>%Y-%m-%d)s -
|
||||||
|
%(title)s.%(ext)s
|
||||||
|
|
||||||
|
Les Cast Codeurs:
|
||||||
|
url: https://lescastcodeurs.libsyn.com/rss
|
||||||
|
output_options:
|
||||||
|
output_directory: /media/podcasts/Video/Les Cast Codeurs
|
||||||
|
file_name: >
|
||||||
|
%(upload_date>%Y-%m-%d)s -
|
||||||
|
%(title)s.%(ext)s
|
||||||
|
|
||||||
|
Tech.Rocks:
|
||||||
|
url: https://feed.ausha.co/yAe9vhMWlRL1
|
||||||
|
output_options:
|
||||||
|
output_directory: /media/podcasts/Video/Tech.Rocks
|
||||||
|
file_name: >
|
||||||
|
%(upload_date>%Y-%m-%d)s -
|
||||||
|
%(title)s.%(ext)s
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
__preset__:
|
|
||||||
- podcast
|
|
||||||
|
|
||||||
Les Technos:
|
|
||||||
|
|
||||||
rss_url: https://lestechnos.be/feed/podcast/
|
|
||||||
|
|
||||||
output_options:
|
|
||||||
|
|
||||||
Hard Fork:
|
|
||||||
|
|
||||||
rss_url: https://example.com/video-podcast.xml
|
|
||||||
|
|
||||||
output_options:
|
|
||||||
|
|
||||||
output_directory: /media/podcasts/Video/Hard Fork
|
|
||||||
|
|
||||||
file_name: >
|
|
||||||
%(upload_date>%Y-%m-%d)s -
|
|
||||||
%(title)s.%(ext)s
|
|
||||||
|
|
||||||
WAN Show:
|
|
||||||
|
|
||||||
url: https://www.youtube.com/@LinusTechTips
|
|
||||||
|
|
||||||
output_options:
|
|
||||||
|
|
||||||
output_directory: /media/podcasts/Video/WAN Show
|
|
||||||
|
|
||||||
file_name: >
|
|
||||||
%(upload_date>%Y-%m-%d)s -
|
|
||||||
%(title)s.%(ext)s
|
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user