Specify hostnames

This commit is contained in:
niten 2024-02-07 15:36:09 -08:00
parent 5e2182695e
commit 975d2dcdfc
1 changed files with 2 additions and 0 deletions

View File

@ -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";
};