feat: add autoupdate label to containers

As it's required for `podman auto-update` to work.
This commit is contained in:
Felix Schröter 2023-09-28 16:41:50 +02:00
parent 50433a0b65
commit 8ea848888a
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 10 additions and 3 deletions

View file

@ -52,7 +52,11 @@ in {
aliasgroup2 = mkAlias "cloud.felschr.com";
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
};
extraOptions = [ "--network=host" "--cap-add=MKNOD" ];
extraOptions = [
"--network=host"
"--cap-add=MKNOD"
"--label=io.containers.autoupdate=registry"
];
};
services.nginx.virtualHosts."office.felschr.com" = {
forceSSL = true;