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