# 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" depends_on: - kv-tube-backend labels: - "com.centurylinklabs.watchtower.enable=true"