1
0
Fork 0

watchtower: Run every 6h and update self

This commit is contained in:
Daniel Kempkens 2023-03-13 09:50:54 +01:00
parent c645eed5b9
commit 5107567c5d
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -20,7 +20,7 @@
containers.watchtower = {
image = "containrrr/watchtower";
environment = {
WATCHTOWER_POLL_INTERVAL = "28800";
WATCHTOWER_POLL_INTERVAL = "21600";
WATCHTOWER_LABEL_ENABLE = "true";
WATCHTOWER_NOTIFICATIONS = "shoutrrr";
WATCHTOWER_NOTIFICATIONS_HOSTNAME = config.networking.hostName;
@ -30,6 +30,9 @@
"/var/run/docker.sock:/var/run/docker.sock"
"/root/.docker/config.json:/config.json:ro"
];
extraOptions = [
"--label com.centurylinklabs.watchtower.enable=true"
];
};
};