nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 849daaa96f459438694192693c52783edf173699
parent 7b0696ee6d65c8b106a85e3bd93ae821ba7feafe
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Tue, 16 Dec 2025 11:52:19 +0000

Add watchtower to docker stack

Diffstat:
Mcommon/docker.nix | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/common/docker.nix b/common/docker.nix @@ -173,6 +173,13 @@ volumes = [ "/home/${username}/docker/vikunja:/db" ]; }; + watchtower = { + autoStart = true; + image = "containrrr/watchtower"; + environment = { WATCHTOWER_CLEANUP = "true"; WATCHTOWER_INCLUDE_RESTARTING = "true"; WATCHTOWER_SCHEDULE = "0 0 4 * * *"; }; + volumes = [ "/var/run/docker.sock:/var/run/docker.sock" ]; + }; + }; }; }