]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/attributes/default.rb
Revert "Limit the memory used by renderd"
[chef.git] / cookbooks / nominatim / attributes / default.rb
index 8f187c7776051b093f2da2116e6dc09297ce152c..55a2d836dcb8637d13a4212f38d9680b37970c57 100644 (file)
@@ -1,2 +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] = "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] = {
+  "nominatim.openstreetmap.org" => {
+    :pm => "dynamic",
+    :max_children => 60,
+    :prometheus_port => 9253
+  }
+}
+
+default[:nominatim][:redirects] = {}
+
+default[:postgresql][:versions] |= [node[:nominatim][:dbcluster].split("/").first]
+
+default[:accounts][:users][:nominatim][:status] = :role