Ajouter watchtower.yaml.txt
This commit is contained in:
parent
b99bb968c7
commit
2981a06fd8
1 changed files with 12 additions and 0 deletions
12
watchtower.yaml.txt
Normal file
12
watchtower.yaml.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
watchtower:
|
||||
container_name: auto-updater
|
||||
restart: always
|
||||
environment:
|
||||
WATCHTOWER_SCHEDULE: "0 ${cron}" # Use standard cron expression (* * * * *)
|
||||
TZ: ${timezone} # Timezone, must be correct cause it affect cronjob !
|
||||
WATCHTOWER_CLEANUP: "true"
|
||||
WATCHTOWER_DEBUG: "true"
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Add table
Reference in a new issue