services: update postgres init
This commit is contained in:
parent
6b81c749b8
commit
f14a0457c2
@ -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";
|
||||||
};
|
};
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user