1
0

update postgresql config

This commit is contained in:
Sense T 2023-12-02 08:02:48 +08:00
parent c7109cd762
commit ea98efd490

View File

@ -38,36 +38,28 @@ in
ensureUsers = [ ensureUsers = [
{ {
name = "k3s"; name = "k3s";
ensurePermissions = { ensureDBOwnership = true;
"DATABASE k3s" = "ALL PRIVILEGES";
};
ensureClauses = { ensureClauses = {
login = true; login = true;
}; };
} }
{ {
name = "gitea"; name = "gitea";
ensurePermissions = { ensureDBOwnership = true;
"DATABASE gitea" = "ALL PRIVILEGES";
};
ensureClauses = { ensureClauses = {
login = true; login = true;
}; };
} }
{ {
name = "vaultwarden"; name = "vaultwarden";
ensurePermissions = { ensureDBOwnership = true;
"DATABASE vaultwarden" = "ALL PRIVILEGES";
};
ensureClauses = { ensureClauses = {
login = true; login = true;
}; };
} }
{ {
name = "saysthbot"; name = "saysthbot";
ensurePermissions = { ensureDBOwnership = true;
"DATABASE saysthbot" = "ALL PRIVILEGES";
};
ensureClauses = { ensureClauses = {
login = true; login = true;
}; };