wynne: create databases for dendrite
This commit is contained in:
parent
dcce094081
commit
77845a9ba9
1 changed files with 7 additions and 2 deletions
|
@ -16,8 +16,13 @@
|
|||
host all all 10.10.10.0/24 trust
|
||||
host all all fd7c:585c:c4ae::0/64 trust
|
||||
'';
|
||||
ensureDatabases = [ ];
|
||||
ensureUsers = [ ];
|
||||
ensureDatabases = [ "dendrite" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "dendrite";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
systemd.services.postgresql.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
|
||||
|
|
Loading…
Reference in a new issue