avoid unnecessary nested content
This commit is contained in:
15
youtube-dl/config/ytdl_options.json
Normal file
15
youtube-dl/config/ytdl_options.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"writesubtitles": true,
|
||||
"subtitleslangs": [
|
||||
"en",
|
||||
"-live_chat"
|
||||
],
|
||||
"subtitlesformat": "ass/srt/best",
|
||||
"postprocessors": [
|
||||
{
|
||||
"key": "FFmpegEmbedSubtitle"
|
||||
}
|
||||
],
|
||||
"format": "bv*[vcodec~='^((he|a)vc|h26[45])']+ba[ext=m4a]/b[vcodec~='^((he|a)vc|h26[45])'] / bv*+ba/b",
|
||||
"merge_output_format": "mkv"
|
||||
}
|
||||
40
youtube-dl/docker-compose.yml
Normal file
40
youtube-dl/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
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