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

@ -35,6 +35,7 @@ let
"--add-host=immich-machine-learning:127.0.0.1"
"--add-host=immich-web:127.0.0.1"
"--add-host=typesense:127.0.0.1"
"--label=io.containers.autoupdate=registry"
];
};
in {
@ -118,7 +119,8 @@ in {
environment.TYPESENSE_DATA_DIR = "/data";
environmentFiles = [ config.age.secrets.immich-typesense-env.path ];
volumes = [ "${typesenseDataDir}:/data" ];
extraOptions = [ "--network=host" ];
extraOptions =
[ "--network=host" "--label=io.containers.autoupdate=registry" ];
};
};