services: move all database operations in initscript
This commit is contained in:
parent
722ed550c8
commit
2d4975768b
@ -31,11 +31,6 @@
|
|||||||
host keycloakdb keycloak localhost scram-sha-256
|
host keycloakdb keycloak localhost scram-sha-256
|
||||||
'';
|
'';
|
||||||
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
||||||
ensureDatabases = [
|
|
||||||
"whatsappdb"
|
|
||||||
"telegramdb"
|
|
||||||
"signaldb"
|
|
||||||
];
|
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "gitea";
|
name = "gitea";
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user