mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-11-29 16:09:49 +00:00
add watchtower
This commit is contained in:
12
watchtower/docker-compose.yml
Normal file
12
watchtower/docker-compose.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user