regret not doing this more granularly but oh well

This commit is contained in:
Schrottkatze 2023-05-21 12:52:04 +02:00
parent 8bb51cb919
commit 2f166efc51
7 changed files with 128 additions and 18 deletions

View file

@ -20,14 +20,14 @@
database = {
type = "postgresql";
createLocally = true;
createLocally = false;
username = "keycloak";
passwordFile = "/run/keys/keycloakDbPw";
passwordFile = "/var/lib/secrets/keycloakDbPw";
};
};
deployment.keys."keycloakDbPw" = {
keyCommand = [ "cat" "/home/jade/keys-tmp/keycloak-db" ];
destDir = "/run/keys/";
destDir = "/var/lib/secrets";
};
}