Specify hostnames
This commit is contained in:
parent
5e2182695e
commit
975d2dcdfc
|
@ -58,9 +58,11 @@ in {
|
||||||
config = {
|
config = {
|
||||||
fudo.secrets.host-secrets."${hostname}".immichEnv = {
|
fudo.secrets.host-secrets."${hostname}".immichEnv = {
|
||||||
source-file = mkEnvFile {
|
source-file = mkEnvFile {
|
||||||
|
DB_HOSTNAME = "database";
|
||||||
DB_USERNAME = "immich";
|
DB_USERNAME = "immich";
|
||||||
DB_DATABASE_NAME = "immich";
|
DB_DATABASE_NAME = "immich";
|
||||||
DB_PASSWORD = readFile databasePassword;
|
DB_PASSWORD = readFile databasePassword;
|
||||||
|
REDIS_HOSTNAME = "redis";
|
||||||
};
|
};
|
||||||
target-file = "/run/immich/env";
|
target-file = "/run/immich/env";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue