summaryrefslogtreecommitdiff
path: root/docker-compose.yaml
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
committerB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
commitd2fbe8e7946f087bc50b29d80ac4b89cb75fad87 (patch)
treebd2edebe798ac76ec84ff622829688e08afc6a45 /docker-compose.yaml
downloadmetube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.gz
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.bz2
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.zip
initial commit
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r--docker-compose.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
new file mode 100644
index 0000000..2a740c8
--- /dev/null
+++ b/docker-compose.yaml
@@ -0,0 +1,23 @@
+# File: docker-compose.yaml
+# Project: metube
+# Startdate: 2023-01-23
+version: "3"
+services:
+ metube:
+ image: alexta69/metube
+ container_name: metube
+ restart: unless-stopped
+ ports:
+ - "8081:8081"
+ volumes:
+ - /mnt/public/Video/Downloads:/downloads
+ environment:
+ # Most of this was suggested by readme. I added restrictfilenames to use only ascii and no spaces
+ YTDL_OPTIONS: '{"writesubtitles": true, "subtitleslangs": ["en", "-live_chat"], "postprocessors": [{"key": "Exec", "exec_cmd": "chmod 0664", "when": "after_move"}, {"key": "FFmpegEmbedSubtitle", "already_have_subtitle": false}, {"key": "FFmpegMetadata", "add_chapters": true}], "restrictfilenames": true}'
+ # personal preference; I like to include id, which also helps jellyfin
+ OUTPUT_TEMPLATE: "%(title)s.%(id)s.%(ext)s"
+ # prefix for reverse proxy in httpd metube.cnf
+ URL_PREFIX: "/metube"
+ # user and group public
+ UID: 960600006
+ GID: 960600005
bgstack15