]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/attributes/default.rb
dulcy: switch to postgresql 12
[chef.git] / cookbooks / nominatim / attributes / default.rb
index 8f187c7776051b093f2da2116e6dc09297ce152c..67708f9a1423691af2605039184c44f67dcaca77 100644 (file)
@@ -1,2 +1,29 @@
+default[:nominatim][:state] = "off" # or: standalone, master, slave
+default[:nominatim][:dbadmins] = []
+default[:nominatim][:dbname] = "nominatim"
+default[:nominatim][:tablespaces] = []
 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][:fpm_pools] = {
+  :www => {
+    :port => "8000",
+    :pm => "dynamic",
+    :max_children => "60"
+  },
+  :bulk => {
+    :port => "8001",
+    :pm => "static",
+    :max_children => "10"
+  },
+  :details => {
+    :port => "8002",
+    :pm => "static",
+    :max_children => "2"
+  }
+}
+
+default[:nominatim][:redirects] = {}