Actually use the env file..

This commit is contained in:
niten 2024-02-07 15:23:23 -08:00
parent 8fc3f85fa6
commit 92f277f539
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,7 @@ in {
"${cfg.store-directory}:/usr/src/app/upload"
"/etc/localtime:/etc/localtime:ro"
];
env_files = [ hostSecrets.immichEnv.target-file ];
};
};
@ -97,6 +98,7 @@ in {
"${cfg.store-directory}:/usr/src/app/upload"
"/etc/localtime:/etc/localtime:ro"
];
env_files = [ hostSecrets.immichEnv.target-file ];
};
};
@ -105,6 +107,7 @@ in {
image = cfg.images.immich-ml;
restart = "always";
volumes = [ "${cfg.state-directory}/model-cache:/cache" ];
env_files = [ hostSecrets.immichEnv.target-file ];
};
};
@ -120,6 +123,7 @@ in {
restart = "always";
volumes =
[ "${cfg.state-directory}/database:/var/lib/postgresql/data" ];
env_files = [ hostSecrets.immichEnv.target-file ];
};
};
};