From 8f1ebda3ee9cff33dbd6ca29d24aea0f5294b04c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 16 Jun 2015 22:41:23 +0200 Subject: [PATCH] restrict postgres on nominatim to internal ip --- roles/nominatim-master.rb | 1 - roles/pummelzacken.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nominatim-master.rb b/roles/nominatim-master.rb index e54179fd7..44fd93608 100644 --- a/roles/nominatim-master.rb +++ b/roles/nominatim-master.rb @@ -6,7 +6,6 @@ default_attributes( :versions => ["9.3"], :settings => { :defaults => { - :listen_addresses => "*", :wal_level => "hot_standby", :archive_mode => "on", :archive_command => "/bin/cp %p /data/postgresql-archive/%f", diff --git a/roles/pummelzacken.rb b/roles/pummelzacken.rb index 495f2a612..68eaefb13 100644 --- a/roles/pummelzacken.rb +++ b/roles/pummelzacken.rb @@ -21,6 +21,7 @@ default_attributes( :postgresql => { :settings => { :defaults => { + :listen_addresses => "10.0.0.20", :shared_buffers => "10GB", :work_mem => "160MB", :maintenance_work_mem => "10GB", -- 2.39.5