mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-11-29 16:09:49 +00:00
13 lines
288 B
YAML
13 lines
288 B
YAML
services:
|
|
watchtower:
|
|
image: nickfedor/watchtower:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
command:
|
|
- "--label-enable"
|
|
- "--cleanup"
|
|
- "--rolling-restart"
|
|
- "--interval"
|
|
- "600" # 10 minutes
|