Postgres uses different env vars

This commit is contained in:
niten 2024-02-07 15:46:06 -08:00
parent 975d2dcdfc
commit 0aa8f199b1
1 changed files with 6 additions and 1 deletions

View File

@ -59,9 +59,14 @@ in {
fudo.secrets.host-secrets."${hostname}".immichEnv = {
source-file = mkEnvFile {
DB_HOSTNAME = "database";
DB_USERNAME = "immich";
DB_DATABASE_NAME = "immich";
DB_USERNAME = "immich";
DB_PASSWORD = readFile databasePassword;
POSTGRES_DB = "immich";
POSTGRES_USER = "immich";
POSTGRES_PASSWORD = readFile databasePassword;
REDIS_HOSTNAME = "redis";
};
target-file = "/run/immich/env";