Files
Compose-Files/Docker/Media Management/metube/docker-compose.yml
T
2026-07-20 09:23:17 -04:00

22 lines
919 B
YAML

services:
metube:
image: alexta69/metube:latest
container_name: metube
ports:
- "7000:8080"
volumes:
- /home/miker/docker/metube/downloads:/downloads # Mounts a local 'downloads' directory to the container's /downloads
- /home/miker/docker/metube/config:/config # Mounts a local 'config' directory for MeTube's configuration
- /home/miker/docker/metube/.cache:/.cache
environment:
- DOWNLOAD_DIR=/downloads
- UID=1000
- GID=1000
- DEFAULT_THEME=dark
- URL_PREFIX=/metube # If running behind a reverse proxy with a subpath
- 'YTDL_OPTIONS={"format": "best", "exec": "ffmpeg -i %(filepath)q -c:v libx264 -c:a aac %(filepath)q.h264.mp4"}'
- HTTPS=true # If you're directly configuring HTTPS in MeTube
- OUTPUT_TEMPLATE=%(title)s.%(id)s.%(ext)s # Corrected format
- DELETE_FILE_ON_TRASHCAN=true
restart: unless-stopped