services: update postgres init

This commit is contained in:
Kabbone 2022-12-27 20:52:04 +01:00
parent 6b81c749b8
commit f14a0457c2
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
host signaldb mautrixsignal samehost scram-sha-256 host signaldb mautrixsignal samehost scram-sha-256
host keycloakdb keycloak samehost scram-sha-256 host keycloakdb keycloak samehost scram-sha-256
''; '';
initialScript = config.age.secrets."services/postgresql/initScript".path; initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
ensureDatabases = [ ensureDatabases = [
"giteadb" "giteadb"
"nextclouddb" "nextclouddb"
@ -88,7 +88,7 @@
services.postgresqlBackup.enable = true; services.postgresqlBackup.enable = true;
age.secrets."services/postgresql/initScript" = { age.secrets."services/postgresql/initScript.sql" = {
file = ../../../secrets/services/postgresql/initScript.age; file = ../../../secrets/services/postgresql/initScript.age;
owner = "postgres"; owner = "postgres";
}; };