Files
nas-compose/youtube-dl/docker-compose.yml
2023-11-20 09:17:35 +11:00

41 lines
1.0 KiB
YAML

name: youtube-dl
services:
ytdl:
hostname: ytdl
image: alexta69/metube
environment:
UID: ${NASCOMPOSE_UID?}
GID: ${NASCOMPOSE_GID?}
YTDL_OPTIONS_FILE: /etc/ytdl_options.json
DELETE_FILE_ON_TRASHCAN: true
networks:
- reverse-proxy
volumes:
- ${NASCOMPOSE_SERVICES?}/youtube-dl/config/ytdl_options.json:/etc/ytdl_options.json:ro
- ${NASCOMPOSE_DATA?}/ytdl/:/downloads/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.ytdl.middlewares: authelia@file
mkvtoolnix:
hostname: mkvtoolnix
image: jlesage/mkvtoolnix
environment:
USER_ID: ${NASCOMPOSE_UID?}
GROUP_ID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- ${NASCOMPOSE_SERVICES?}/youtube-dl/volumes/mkvtoolnix_config/:/config/
- ${NASCOMPOSE_DATA?}/ytdl/:/storage/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.mkvtoolnix.middlewares: authelia@file
networks:
reverse-proxy:
external: true