X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bb0c215d5c11e206a217331c6620545d5c2e265f..2f1208a2f1796191ac32543b9b949d1c607dcd15:/cookbooks/nominatim/attributes/default.rb?ds=inline diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 32699dc6d..1edb544d2 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -1,9 +1,9 @@ default[:nominatim][:state] = "off" # or: standalone, master, slave default[:nominatim][:dbadmins] = [] -default[:nominatim][:dbcluster] = "12/main" +default[:nominatim][:dbcluster] = "14/main" default[:nominatim][:dbname] = "nominatim" default[:nominatim][:tablespaces] = [] -default[:nominatim][:postgis] = "2.5" +default[:nominatim][:postgis] = "3" default[:nominatim][:logdir] = "/var/log/nominatim" default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git" default[:nominatim][:revision] = "master" @@ -14,6 +14,9 @@ default[:nominatim][:ui_repository] = "https://git.openstreetmap.org/public/nomi default[:nominatim][:ui_revision] = "master" default[:nominatim][:qa_repository] = "https://github.com/osm-search/Nominatim-Data-Analyser" default[:nominatim][:qa_revision] = "main" +default[:nominatim][:api_flavour] = "php" +default[:nominatim][:api_workers] = 10 +default[:nominatim][:api_pool_size] = 10 default[:nominatim][:fpm_pools] = { "nominatim.openstreetmap.org" => { @@ -23,8 +26,14 @@ default[:nominatim][:fpm_pools] = { } } +default[:nominatim][:config] = { + :tokenizer => "icu", + :forward_dependencies => "no" +} + default[:nominatim][:redirects] = {} default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first] +default[:postgresql][:monitor_database] = "nominatim" default[:accounts][:users][:nominatim][:status] = :role