Postgres uses different env vars
This commit is contained in:
parent
975d2dcdfc
commit
0aa8f199b1
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue