X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/32f0f0ef975a814886142e25acc96f9d0b045457..f66d8484209d0d6d1ade5bf7e0c9e292e49f80a9:/roles/longma.rb?ds=sidebyside diff --git a/roles/longma.rb b/roles/longma.rb index 402c877ed..f8ff9cd87 100644 --- a/roles/longma.rb +++ b/roles/longma.rb @@ -29,9 +29,34 @@ 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 + } + } } ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[nominatim]" )