Migration to newer dockge/compose stack
This commit is contained in:
21
youtube-dl/compose.yaml
Normal file
21
youtube-dl/compose.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
|
||||
|
||||
services:
|
||||
ytdl:
|
||||
extends:
|
||||
file: ../compose.base.yaml
|
||||
service: exposed-service
|
||||
container_name: ytdl
|
||||
image: alexta69/metube
|
||||
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
|
||||
environment:
|
||||
YTDL_OPTIONS_FILE: /etc/ytdl_options.json
|
||||
DELETE_FILE_ON_TRASHCAN: true
|
||||
volumes:
|
||||
- ./config/ytdl_options.json:/etc/ytdl_options.json:ro
|
||||
- ${NASCOMPOSE_DATA?}/ytdl/:/downloads/
|
||||
labels:
|
||||
traefik.http.routers.ytdl.middlewares: authelia@file
|
||||
networks:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
@@ -1,40 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user