Migration to newer dockge/compose stack

This commit is contained in:
Colin Hebert
2024-09-26 15:59:37 +02:00
parent 1d52e2ac75
commit dfe252e945
104 changed files with 752 additions and 666 deletions

21
youtube-dl/compose.yaml Normal file
View 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

View File

@@ -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