]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/attributes/default.rb
Enable rtnf on dev
[chef.git] / cookbooks / nominatim / attributes / default.rb
1 default[:nominatim][:state] = "off" # or: standalone, master, slave
2 default[:nominatim][:dbadmins] = []
3 default[:nominatim][:dbcluster] = "14/main"
4 default[:nominatim][:dbname] = "nominatim"
5 default[:nominatim][:tablespaces] = []
6 default[:nominatim][:postgis] = "3"
7 default[:nominatim][:logdir] = "/var/log/nominatim"
8 default[:nominatim][:repository] = "https://git.openstreetmap.org/public/nominatim.git"
9 default[:nominatim][:revision] = "deploy"
10 default[:nominatim][:enable_backup] = false
11 default[:nominatim][:enable_git_updates] = true
12 default[:nominatim][:enable_qa_tiles] = false
13 default[:nominatim][:ui_repository] = "https://git.openstreetmap.org/public/nominatim-ui.git"
14 default[:nominatim][:ui_revision] = "master"
15 default[:nominatim][:qa_repository] = "https://github.com/osm-search/Nominatim-Data-Analyser"
16 default[:nominatim][:qa_revision] = "main"
17 default[:nominatim][:api_flavour] = "php"
18 default[:nominatim][:api_workers] = 10
19 default[:nominatim][:api_pool_size] = 10
20 default[:nominatim][:api_query_timeout] = 5
21 default[:nominatim][:api_request_timeout] = 20
22
23 default[:nominatim][:fpm_pools] = {
24   "nominatim.openstreetmap.org" => {
25     :pm => "dynamic",
26     :max_children => 60,
27     :prometheus_port => 9253
28   }
29 }
30
31 default[:nominatim][:config] = {
32   :tokenizer => "icu",
33   :forward_dependencies => "no"
34 }
35
36 default[:nominatim][:redirects] = {}
37
38 default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first]
39 default[:postgresql][:monitor_database] = "nominatim"
40
41 default[:accounts][:users][:nominatim][:status] = :role