summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-10-24 16:15:15 -0400
committerB. Stack <bgstack15@gmail.com>2023-10-24 16:15:15 -0400
commitcfdb0e3a1541e2bf73aa742b9cdbc6606e629178 (patch)
tree6030fb0a90d6ba29b4c57ee5f8a360768c481b71
parentinitial commit (diff)
downloadmetube-internal-master.tar.gz
metube-internal-master.tar.bz2
metube-internal-master.zip
update yaml to current desired configHEADmaster
-rw-r--r--docker-compose.yaml19
-rw-r--r--metube-README.md5
2 files changed, 22 insertions, 2 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 2a740c8..20c9b8f 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -4,16 +4,17 @@
version: "3"
services:
metube:
- image: alexta69/metube
+ image: alexta69/metube:latest
container_name: metube
restart: unless-stopped
ports:
- "8081:8081"
volumes:
- /mnt/public/Video/Downloads:/downloads
+ - /home/metube/.cache:/.cache
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}'
+ 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,"format_sort":["vcodec:h264","vcodec:av01","vcodec:vp9.2","vcodec:vp9","vcodec:h265","vcodec:vp8","vcodec:h263","vcodec:theora","vcodec:other"]}'
# 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
@@ -21,3 +22,17 @@ services:
# user and group public
UID: 960600006
GID: 960600005
+ watchtower:
+ container_name: watchtower
+ image: containrrr/watchtower:latest
+ restart: always
+ ports:
+ - 8082:8080
+ command: --interval 86400 metube
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ - /etc/timezone:/etc/timezone:ro
+ environment:
+ - WATCHTOWER_CLEANUP=true
+ - WATCHTOWER_LABEL_ENABLE=true
+ - WATCHTOWER_INCLUDE_RESTARTING=true
diff --git a/metube-README.md b/metube-README.md
index 59a6bbe..2e00334 100644
--- a/metube-README.md
+++ b/metube-README.md
@@ -100,6 +100,11 @@ To provide a simple way to add Internet videos into the local Jellyfin instance
## Using and Operations
Tasks that will probably repeat.
+Update metube image, mostly for the latest yt-dlp version:
+
+ docker pull alexta69/metube:latest
+ cd ~/metube/git ; docker-compose down ; docker-compose up -d
+
### Visiting
Visit the main page via one of these following links. The main page is where you can add new videos by url and view current and completed downloads:
bgstack15