X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..7f33734e863bf7ba1d1e4f1f1db208450b4cbb2b:/cookbooks/nominatim/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index dca4e71e6..ad9dffae5 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -6,7 +6,7 @@ default[:nominatim][:tablespaces] = [] default[:nominatim][:postgis] = "3" default[:nominatim][:logdir] = "/var/log/nominatim" default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git" -default[:nominatim][:revision] = "master" +default[:nominatim][:revision] = "deploy" default[:nominatim][:enable_backup] = false default[:nominatim][:enable_git_updates] = true default[:nominatim][:enable_qa_tiles] = false @@ -14,6 +14,11 @@ 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][:api_query_timeout] = 5 +default[:nominatim][:api_request_timeout] = 20 default[:nominatim][:fpm_pools] = { "nominatim.openstreetmap.org" => { @@ -24,11 +29,13 @@ default[:nominatim][:fpm_pools] = { } default[:nominatim][:config] = { - :tokenizer => "icu" + :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