diff --git a/immich-container.nix b/immich-container.nix index c7c36e3..2beba84 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -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";