X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/32cc371a6405f3c8b1f0c19de07da1334fd0e9bd..6abf28ac8a3c059c4f58a71d4c42f0c146320a87:/roles/longma.rb?ds=inline diff --git a/roles/longma.rb b/roles/longma.rb index 2b362d8eb..f8ff9cd87 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -29,6 +29,30 @@ default_attributes( :address => "2001:470:1:b3b::d" } } + }, + :postgresql => { + :versions => ["14"], + :settings => { + :defaults => { + :max_connections => "550", + :work_mem => "240MB", + :fsync => "on", + :effective_io_concurrency => "500" + } + } + }, + :nominatim => { + :state => "standalone", + :dbcluster => "14/main", + :postgis => "3", + :enable_qa_tiles => true, + :flatnode_file => "/ssd/nominatim/nodes.store", + :logdir => "/ssd/nominatim/log", + :fpm_pools => { + "nominatim.openstreetmap.org" => { + :max_children => 200 + } + } } )