services: update postgres auth
This commit is contained in:
parent
1c627cf0aa
commit
ae3c83c499
@ -80,7 +80,7 @@
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedUDPPorts = [ ];
|
||||
allowedTCPPorts = [ 80 443 8448 ];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -21,14 +21,14 @@
|
||||
timezone = "Europe/Berlin";
|
||||
};
|
||||
authentication = pkgs.lib.mkOverride 14 ''
|
||||
local all postgres peer
|
||||
host giteadb gitea samehost scram-sha-256
|
||||
host nextclouddb nextcloud samehost scram-sha-256
|
||||
host synapsedb synapse samehost scram-sha-256
|
||||
host whatsappdb mautrixwa samehost scram-sha-256
|
||||
host telegramdb mautrixtele samehost scram-sha-256
|
||||
host signaldb mautrixsignal samehost scram-sha-256
|
||||
host keycloakdb keycloak samehost scram-sha-256
|
||||
local all postgres peer
|
||||
local giteadb gitea scram-sha-256
|
||||
local nextclouddb nextcloud scram-sha-256
|
||||
local synapsedb synapse scram-sha-256
|
||||
local whatsappdb mautrixwa scram-sha-256
|
||||
local telegramdb mautrixtele scram-sha-256
|
||||
local signaldb mautrixsignal scram-sha-256
|
||||
local keycloakdb keycloak scram-sha-256
|
||||
'';
|
||||
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
||||
ensureDatabases = [
|
||||
|
Loading…
Reference in New Issue
Block a user