11 lines
306 B
Nix
11 lines
306 B
Nix
{ ... }:
|
|
{
|
|
virtualisation.oci-containers.containers.watchtower = {
|
|
image = "containrrr/watchtower:latest";
|
|
volumes = [
|
|
"/etc/zoneinfo/America/Chicago:/etc/localtime:ro"
|
|
"/var/run/docker.sock:/var/run/docker.sock"
|
|
];
|
|
environment = {WATCHTOWER_SCHEDULE = "0 0 3 * * *";};
|
|
};
|
|
} |