kv-tube/docker-compose.yml
KV-Tube Deployer 79f69772a0
Some checks failed
Docker Build & Push / build (push) Has been cancelled
v3.1.3: Fix SPA redeclaration errors, update docker-compose for cookies
2026-01-20 07:25:27 +07:00

32 lines
924 B
YAML
Executable file

# KV-Tube Docker Compose for Synology NAS
# Usage: docker-compose up -d
version: '3.8'
services:
kv-tube:
build: .
image: vndangkhoa/kv-tube:latest
container_name: kv-tube
restart: unless-stopped
ports:
- "5011:5000"
volumes:
# Persist data (Easy setup: Just maps a folder)
- ./data:/app/data
# Cookies file for YouTube (Required for NAS/Server to fix "Transcript not available")
- ./data/cookies.txt:/app/cookies.txt
# Local videos folder (Optional)
# - ./videos:/app/youtube_downloads
environment:
- PYTHONUNBUFFERED=1
- FLASK_ENV=production
- COOKIES_FILE=/app/cookies.txt
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:5000/" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
labels:
- "com.centurylinklabs.watchtower.enable=true"