Move youtube DL to its own service
This commit is contained in:
@@ -1,30 +1,6 @@
|
|||||||
name: Downloads
|
name: Downloads
|
||||||
|
|
||||||
services:
|
services:
|
||||||
youtube-dl:
|
|
||||||
image: alexta69/metube
|
|
||||||
environment:
|
|
||||||
UID: ${NASCOMPOSE_UID?}
|
|
||||||
GID: ${NASCOMPOSE_GID?}
|
|
||||||
YTDL_OPTIONS: >
|
|
||||||
{
|
|
||||||
"writesubtitles": true,
|
|
||||||
"subtitleslangs": ["all", "-live_chat"],
|
|
||||||
"subtitlesformat": "ass/srt/best",
|
|
||||||
"postprocessors": [
|
|
||||||
{ "key": "FFmpegEmbedSubtitle" },
|
|
||||||
{ "key": "FFmpegMetadata" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
networks:
|
|
||||||
- traefik
|
|
||||||
volumes:
|
|
||||||
- youtube:/downloads
|
|
||||||
restart: unless-stopped
|
|
||||||
labels:
|
|
||||||
traefik.enable: true
|
|
||||||
traefik.http.routers.youtube-dl.middlewares: authelia@file
|
|
||||||
|
|
||||||
nzbget:
|
nzbget:
|
||||||
image: linuxserver/nzbget
|
image: linuxserver/nzbget
|
||||||
profiles: [usenet]
|
profiles: [usenet]
|
||||||
@@ -54,11 +30,6 @@ volumes:
|
|||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${NASCOMPOSE_DATA?}/usenet/
|
device: ${NASCOMPOSE_DATA?}/usenet/
|
||||||
youtube:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
o: bind
|
|
||||||
device: ${NASCOMPOSE_DATA?}/youtube/
|
|
||||||
|
|
||||||
nzbget_config:
|
nzbget_config:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
|||||||
40
youtube-dl/docker-compose.yml
Normal file
40
youtube-dl/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Youtube-DL
|
||||||
|
|
||||||
|
services:
|
||||||
|
youtube-dl:
|
||||||
|
image: alexta69/metube
|
||||||
|
environment:
|
||||||
|
UID: ${NASCOMPOSE_UID?}
|
||||||
|
GID: ${NASCOMPOSE_GID?}
|
||||||
|
YTDL_OPTIONS: >
|
||||||
|
{
|
||||||
|
"writesubtitles": true,
|
||||||
|
"subtitleslangs": ["all", "-live_chat"],
|
||||||
|
"subtitlesformat": "ass/srt/best",
|
||||||
|
"postprocessors": [
|
||||||
|
{ "key": "FFmpegEmbedSubtitle" },
|
||||||
|
{ "key": "FFmpegMetadata" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
networks:
|
||||||
|
- traefik
|
||||||
|
volumes:
|
||||||
|
- youtub-dl:/downloads
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
traefik.enable: true
|
||||||
|
traefik.http.routers.youtube-dl.middlewares: authelia@file
|
||||||
|
|
||||||
|
networks:
|
||||||
|
youtube-dl:
|
||||||
|
name: youtube-dl
|
||||||
|
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
youtube-dl:
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
o: bind
|
||||||
|
device: ${NASCOMPOSE_DATA?}/youtub-dl/
|
||||||
Reference in New Issue
Block a user