From 975d2dcdfc695913311bbd15fac8b94de56c4aa9 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 7 Feb 2024 15:36:09 -0800 Subject: [PATCH] Specify hostnames --- immich-container.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/immich-container.nix b/immich-container.nix index 93c019c..c7c36e3 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -58,9 +58,11 @@ in { config = { fudo.secrets.host-secrets."${hostname}".immichEnv = { source-file = mkEnvFile { + DB_HOSTNAME = "database"; DB_USERNAME = "immich"; DB_DATABASE_NAME = "immich"; DB_PASSWORD = readFile databasePassword; + REDIS_HOSTNAME = "redis"; }; target-file = "/run/immich/env"; };