feat: add autoupdate label to containers
As it's required for `podman auto-update` to work.
This commit is contained in:
parent
50433a0b65
commit
8ea848888a
|
@ -58,7 +58,8 @@ in {
|
||||||
};
|
};
|
||||||
# only secrets need to be included, e.g. FOCALBOARD_DBCONFIG
|
# only secrets need to be included, e.g. FOCALBOARD_DBCONFIG
|
||||||
environmentFiles = [ config.age.secrets.focalboard-env.path ];
|
environmentFiles = [ config.age.secrets.focalboard-env.path ];
|
||||||
extraOptions = [ "--network=host" ];
|
extraOptions =
|
||||||
|
[ "--network=host" "--label=io.containers.autoupdate=registry" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."${ociBackend}-focalboard" = {
|
systemd.services."${ociBackend}-focalboard" = {
|
||||||
|
|
|
@ -35,6 +35,7 @@ let
|
||||||
"--add-host=immich-machine-learning:127.0.0.1"
|
"--add-host=immich-machine-learning:127.0.0.1"
|
||||||
"--add-host=immich-web:127.0.0.1"
|
"--add-host=immich-web:127.0.0.1"
|
||||||
"--add-host=typesense:127.0.0.1"
|
"--add-host=typesense:127.0.0.1"
|
||||||
|
"--label=io.containers.autoupdate=registry"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
@ -118,7 +119,8 @@ in {
|
||||||
environment.TYPESENSE_DATA_DIR = "/data";
|
environment.TYPESENSE_DATA_DIR = "/data";
|
||||||
environmentFiles = [ config.age.secrets.immich-typesense-env.path ];
|
environmentFiles = [ config.age.secrets.immich-typesense-env.path ];
|
||||||
volumes = [ "${typesenseDataDir}:/data" ];
|
volumes = [ "${typesenseDataDir}:/data" ];
|
||||||
extraOptions = [ "--network=host" ];
|
extraOptions =
|
||||||
|
[ "--network=host" "--label=io.containers.autoupdate=registry" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,11 @@ in {
|
||||||
aliasgroup2 = mkAlias "cloud.felschr.com";
|
aliasgroup2 = mkAlias "cloud.felschr.com";
|
||||||
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
|
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" = {
|
services.nginx.virtualHosts."office.felschr.com" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue