Introduction of watchtower to watch for new images.
This commit is contained in:
@@ -73,5 +73,18 @@ services:
|
|||||||
- "traefik.http.routers.grafana-secure.tls.certresolver=infomaniak"
|
- "traefik.http.routers.grafana-secure.tls.certresolver=infomaniak"
|
||||||
- "traefik.http.services.grafana-secure.loadbalancer.server.port=3000"
|
- "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 * * *"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
10
monitoring/watchtower-config.json
Normal file
10
monitoring/watchtower-config.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"auths": {
|
||||||
|
"cs-registry.ddnss.de": {
|
||||||
|
"auth": "Y2hyaXM6U2VjcmV0MTI="
|
||||||
|
},
|
||||||
|
"https://index.docker.io/v1/": {
|
||||||
|
"auth": "Y3MyMjExOkU2U2Njc3ViRFJrYUppMlNMVSUh"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user