podman: added auto update labels

This commit is contained in:
Tigor Hutasuhut 2024-06-19 12:49:23 +07:00
parent 214cf36daf
commit 93c2e8ac5d
6 changed files with 19 additions and 1 deletions

View file

@ -5,7 +5,7 @@ let
pihole = podman.pihole; pihole = podman.pihole;
inherit (lib) mkIf attrsets; inherit (lib) mkIf attrsets;
ip = "10.88.1.1"; ip = "10.88.1.1";
image = "pihole/pihole:latest"; image = "docker.io/pihole/pihole:latest";
piholeDNSIPBind = "192.168.100.3"; piholeDNSIPBind = "192.168.100.3";
in in
{ {
@ -82,6 +82,9 @@ in
"--cap-add=SYS_NICE" "--cap-add=SYS_NICE"
"--cap-add=CHOWN" "--cap-add=CHOWN"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };
} }

View file

@ -48,6 +48,9 @@ in
"--ip=${ip}" "--ip=${ip}"
"--network=podman" "--network=podman"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };
} }

View file

@ -39,6 +39,9 @@ in
"--network=podman" "--network=podman"
"--ip=${ip}" "--ip=${ip}"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };

View file

@ -39,6 +39,9 @@ in
"--network=podman" "--network=podman"
"--ip=${ip}" "--ip=${ip}"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };

View file

@ -66,6 +66,9 @@ in
"--ip=${ip-flaresolverr}" "--ip=${ip-flaresolverr}"
"--network=podman" "--network=podman"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };
} }

View file

@ -76,6 +76,9 @@ in
"--ip=${ip}" "--ip=${ip}"
"--network=podman" "--network=podman"
]; ];
labels = {
"io.containers.autoupdate" = "registry";
};
}; };
}; };
} }