19 lines
590 B
YAML
19 lines
590 B
YAML
services:
|
|
spotify-clone:
|
|
image: git.khoavo.myds.me/vndangkhoa/spotify-clone:latest
|
|
container_name: spotify-clone
|
|
restart: always
|
|
network_mode: bridge # Synology often prefers explicit bridge or host
|
|
ports:
|
|
- "3110:3000" # Web UI
|
|
|
|
volumes:
|
|
- ./data:/app/backend/data
|
|
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
command: --interval 3600 --cleanup --label-enable=false spotify-clone # Checks every hour for 'spotify-clone' container
|
|
restart: always
|