Introduction of watchtower to watch for new images.

This commit is contained in:
Christian Steinle
2022-09-16 11:52:44 +02:00
parent 996ec2981b
commit 94f683d091
2 changed files with 23 additions and 0 deletions

View File

@@ -73,5 +73,18 @@ services:
- "traefik.http.routers.grafana-secure.tls.certresolver=infomaniak"
- "traefik.http.services.grafana-secure.loadbalancer.server.port=3000"
watchtower:
image: containrrr/watchtower
restart: always
networks:
- monitoring
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./watchtower-config.json:/config.json
environment:
TZ: Europe/Berlin
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_MONITOR_ONLY: true
WATCHTOWER_SCHEDULE: "0 0 2 * * *"

View File

@@ -0,0 +1,10 @@
{
"auths": {
"cs-registry.ddnss.de": {
"auth": "Y2hyaXM6U2VjcmV0MTI="
},
"https://index.docker.io/v1/": {
"auth": "Y3MyMjExOkU2U2Njc3ViRFJrYUppMlNMVSUh"
}
}
}