X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/68e068818d559ef35bdf2a138a93596337828ef9..54817d1f97d837a7b740c805661388a03b8ffe22:/cookbooks/nominatim/attributes/default.rb diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 301faf53d..a7037ee20 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -5,15 +5,21 @@ default[:nominatim][:dbname] = "nominatim" default[:nominatim][:tablespaces] = [] default[:nominatim][:postgis] = "3" default[:nominatim][:logdir] = "/var/log/nominatim" +default[:nominatim][:pip_index] = "https://nominatim.org/data/osm-production" 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 default[:nominatim][:ui_repository] = "https://git.openstreetmap.org/public/nominatim-ui.git" default[:nominatim][:ui_revision] = "master" default[:nominatim][:qa_repository] = "https://github.com/osm-search/Nominatim-Data-Analyser" -default[:nominatim][:qa_revision] = "main" +default[:nominatim][:qa_revision] = "deploy" +default[:nominatim][:api_flavour] = "python" +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" => { @@ -31,5 +37,6 @@ default[:nominatim][:config] = { default[:nominatim][:redirects] = {} default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first] +default[:postgresql][:monitor_database] = "nominatim" default[:accounts][:users][:nominatim][:status] = :role