X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8c0c354ccdecd8772cb32087d2c666dcbc053fc1..2ecb8ca90ac730ada6e083aebd8f3265033f46d5:/cookbooks/nominatim/attributes/default.rb diff --git a/cookbooks/nominatim/attributes/default.rb b/cookbooks/nominatim/attributes/default.rb index 2805a8606..55a2d836d 100644 --- a/cookbooks/nominatim/attributes/default.rb +++ b/cookbooks/nominatim/attributes/default.rb @@ -1,29 +1,27 @@ default[:nominatim][:state] = "off" # or: standalone, master, slave default[:nominatim][:dbadmins] = [] +default[:nominatim][:dbcluster] = "12/main" default[:nominatim][:dbname] = "nominatim" default[:nominatim][:tablespaces] = [] +default[:nominatim][:postgis] = "2.5" default[:nominatim][:logdir] = "/var/log/nominatim" -default[:nominatim][:repository] = "git://git.openstreetmap.org/nominatim.git" +default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git" default[:nominatim][:revision] = "master" default[:nominatim][:enable_backup] = false default[:nominatim][:enable_git_updates] = true +default[:nominatim][:ui_repository] = "https://git.openstreetmap.org/public/nominatim-ui.git" +default[:nominatim][:ui_revision] = "master" default[:nominatim][:fpm_pools] = { - :www => { - :port => "8000", + "nominatim.openstreetmap.org" => { :pm => "dynamic", - :max_children => "60" - }, - :bulk => { - :port => "8001", - :pm => "static", - :max_children => "10" - }, - :details => { - :port => "8002", - :pm => "static", - :max_children => "2" + :max_children => 60, + :prometheus_port => 9253 } } default[:nominatim][:redirects] = {} + +default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first] + +default[:accounts][:users][:nominatim][:status] = :role