Added hetzner server configs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.watchtower = {
|
||||
image = "ghcr.io/nicholas-fedor/watchtower:latest";
|
||||
autoStart = true;
|
||||
volumes = [
|
||||
"/var/run/podman/podman.sock:/var/run/docker.sock:ro"
|
||||
];
|
||||
environment = {
|
||||
WATCHTOWER_CLEANUP = "true";
|
||||
WATCHTOWER_POLL_INTERVAL = "86400";
|
||||
WATCHTOWER_INCLUDE_STOPPED = "true";
|
||||
WATCHTOWER_REVIVE_STOPPED = "true";
|
||||
TZ = "Europe/Amsterdam";
|
||||
};
|
||||
cmd = ["--label-enable"];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user