-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80d9a3c
commit 103c54c
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ab9avP0o90UVYp8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: "3" | ||
secrets: | ||
access_token: | ||
file: access_token | ||
services: | ||
watchtower: | ||
image: containrrr/watchtower | ||
restart: unless-stopped | ||
secrets: | ||
- access_token | ||
environment: | ||
- TZ=Europe/London | ||
# remove old images after update (useful for saving space) | ||
- WATCHTOWER_CLEANUP=true | ||
# the below will ignore labels set. It is worth checking out labels as that can be a more scalabe solution (automatic) | ||
# - WATCHTOWER_DISABLE_CONTAINERS=traefik crowdsec bouncer-traefik deconz frigate home-assistant homeassistant-db | ||
# the docker host can also be remote by specifying tcp | ||
# - DOCKER_HOST=tcp://hostname:port | ||
# how frequently to check for images (default is 24 hours) | ||
# - WATCHTOWER_POLL_INTERVAL=86400 | ||
# choose whether to restart the containers after updates | ||
# - WATCHTOWER_INCLUDE_RESTARTING=true | ||
# choose whether to update stopped and exited containers | ||
# - WATCHTOWER_INCLUDE_STOPPED=true | ||
# this will start containers that were stopped or exited if they are updated | ||
# - WATCHTOWER_REVIVE_STOPPED=true | ||
# watchtower can behave like DIUN by only notifying, and not updating | ||
# - WATCHTOWER_MONITOR_ONLY=true | ||
# you can tell watchtower to do updates and restarts one by one - can be helpful | ||
- WATCHTOWER_ROLLING_RESTART=true | ||
|
||
- WATCHTOWER_NOTIFICATIONS=gotify | ||
- WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://gotify.jimsgarage.co.uk | ||
- WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=/run/secrets/access_token | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
# - /root/.docker/config.json:/config.json - Enable this when using a custom repo | ||
command: --interval 30 # change this interval to whatever suits you |