aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-06 23:57:19 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-06 23:57:19 +0100
commit609c29615905e2bc5628a164cea2c28ec70d5d35 (patch)
treeec495beeb90ff185141a16463791aeb82ea10436
parent9d8d1425de8a3ff6c1a275e74667c6fdaf9fa626 (diff)
downloadNix-609c29615905e2bc5628a164cea2c28ec70d5d35.tar.gz
Nix-609c29615905e2bc5628a164cea2c28ec70d5d35.tar.zst
Nix-609c29615905e2bc5628a164cea2c28ec70d5d35.zip
Migrate discourse to postgresql
-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