kv-tube/docker-compose.yml
KV-Tube Deployer 66d95e0fb4
Some checks failed
CI / lint (push) Failing after 5s
CI / test (push) Failing after 0s
CI / build (push) Has been skipped
fix: use NEXT_PUBLIC_API_URL and add yt-dlp to fix backend info fetching
2026-02-22 19:52:51 +07:00

36 lines
954 B
YAML
Executable file

# KV-Tube Docker Compose for Synology NAS
# Usage: docker-compose up -d
version: '3.8'
services:
kv-tube-backend:
image: git.khoavo.myds.me/vndangkhoa/kv-tube-backend:v4.0.0
container_name: kv-tube-backend
restart: unless-stopped
volumes:
- ./data:/app/data
environment:
- KVTUBE_DATA_DIR=/app/data
- GIN_MODE=release
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/api/health" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
labels:
- "com.centurylinklabs.watchtower.enable=true"
kv-tube-frontend:
image: git.khoavo.myds.me/vndangkhoa/kv-tube-frontend:v4.0.0
container_name: kv-tube-frontend
restart: unless-stopped
ports:
- "5011:3000"
environment:
- NEXT_PUBLIC_API_URL=http://kv-tube-backend:8080
depends_on:
- kv-tube-backend
labels:
- "com.centurylinklabs.watchtower.enable=true"