aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixops/modules/databases/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixops/modules/databases/default.nix b/nixops/modules/databases/default.nix
index d86373a..695069d 100644
--- a/nixops/modules/databases/default.nix
+++ b/nixops/modules/databases/default.nix
@@ -105,7 +105,8 @@ in {
105 extraConfig = '' 105 extraConfig = ''
106 max_connections = 100 106 max_connections = 100
107 wal_level = logical 107 wal_level = logical
108 shared_buffers = 128MB 108 shared_buffers = 512MB
109 work_mem = 10MB
109 max_wal_size = 1GB 110 max_wal_size = 1GB
110 min_wal_size = 80MB 111 min_wal_size = 80MB
111 log_timezone = 'Europe/Paris' 112 log_timezone = 'Europe/Paris'
@@ -123,6 +124,7 @@ in {
123 authentication = '' 124 authentication = ''
124 local all postgres ident 125 local all postgres ident
125 local all all md5 126 local all all md5
127 hostssl discourse discourse all md5
126 hostssl all all all pam 128 hostssl all all all pam
127 hostssl replication backup-1 2001:41d0:302:1100::9:e5a9/128 pam pamservice=postgresql_replication 129 hostssl replication backup-1 2001:41d0:302:1100::9:e5a9/128 pam pamservice=postgresql_replication
128 hostssl replication backup-1 54.37.151.137/32 pam pamservice=postgresql_replication 130 hostssl replication backup-1 54.37.151.137/32 pam pamservice=postgresql_replication