env_files -> env_file

This commit is contained in:
niten 2024-02-07 15:28:17 -08:00
parent d89f0db4ae
commit 02fad6a489
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ in {
"${cfg.store-directory}:/usr/src/app/upload" "${cfg.store-directory}:/usr/src/app/upload"
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"
]; ];
env_files = [ hostSecrets.immichEnv.target-file ]; env_file = [ hostSecrets.immichEnv.target-file ];
}; };
}; };
@ -109,7 +109,7 @@ in {
image = cfg.images.immich-ml; image = cfg.images.immich-ml;
restart = "always"; restart = "always";
volumes = [ "${cfg.state-directory}/model-cache:/cache" ]; volumes = [ "${cfg.state-directory}/model-cache:/cache" ];
env_files = [ hostSecrets.immichEnv.target-file ]; env_file = [ hostSecrets.immichEnv.target-file ];
}; };
}; };
@ -125,7 +125,7 @@ in {
restart = "always"; restart = "always";
volumes = volumes =
[ "${cfg.state-directory}/database:/var/lib/postgresql/data" ]; [ "${cfg.state-directory}/database:/var/lib/postgresql/data" ];
env_files = [ hostSecrets.immichEnv.target-file ]; env_file = [ hostSecrets.immichEnv.target-file ];
}; };
}; };
}; };