kv-tube/docker-compose.yml
Khoa Vo f1a74c83db
Some checks failed
Build & Push Docker Image / build (push) Failing after 0s
feat: update docker-compose and README for Synology NAS deployment
2026-05-14 11:06:39 +07:00

28 lines
656 B
YAML

# KV-Tube Docker Compose for Synology NAS
# Usage: docker-compose up -d
version: '3.8'
services:
kv-tube:
build:
context: .
dockerfile: Dockerfile
args:
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8080/api}
image: kv-tube:latest
container_name: kv-tube
platform: linux/amd64
restart: unless-stopped
ports:
- "5011:3000"
- "8981:8080"
volumes:
- ./data:/app/data
environment:
- KVTUBE_DATA_DIR=/app/data
- GIN_MODE=release
- NODE_ENV=production
- CORS_ALLOWED_ORIGINS=*
labels:
- "com.centurylinklabs.watchtower.enable=true"