created metube

This commit is contained in:
2026-05-20 23:05:43 -07:00
parent 8309328890
commit ec828c185d
2 changed files with 59 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# MeTube Docker Compose - Environment Variables
# Copy this file to .env and fill in your values
# --- Image ---
# MeTube image tag (use a specific version for stability, or 'latest')
METUBE_VERSION=latest
# --- Permissions ---
# User and group ID that MeTube runs as (match your host user to avoid permission issues)
METUBE_PUID=1000
METUBE_PGID=1000
# File permission mask applied to downloaded files (022 = owner rw, group/others r)
METUBE_UMASK=022
# --- Storage ---
# Host path where downloaded files will be saved
METUBE_DOWNLOAD=/path/to/downloads
# --- Network ---
# Host port to expose the MeTube web UI on
METUBE_PORT=8081
# --- Download Behavior ---
# Delete the file from disk when trashed in the UI (true/false)
METUBE_DELETE_FILE_ON_TRASHCAN=true
# Seconds after completion before a finished download is removed from the queue (3600 = 1 hour, 0 = disabled)
METUBE_CLEAR_COMPLETED_AFTER=3600
+25
View File
@@ -0,0 +1,25 @@
services:
app:
image: alexta69/metube:${METUBE_VERSION:-latest}
container_name: metube-app
environment:
- PUID=${METUBE_PUID:-1000}
- PGID=${METUBE_PGID:-1000}
- UMASK=${METUBE_UMASK:-022}
- DELETE_FILE_ON_TRASHCAN=${METUBE_DELETE_FILE_ON_TRASHCAN:-true}
- CLEAR_COMPLETED_AFTER=${METUBE_CLEAR_COMPLETED_AFTER:-3600}
volumes:
- ${METUBE_DOWNLOAD}:/downloads
ports:
- ${METUBE_PORT}:8081
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
deploy:
resources:
limits:
memory: 512m
restart: unless-stopped