]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Add alerts for filesystems low on space
[chef.git] / roles / dev.rb
index 703cbccf204cd54f8e34e29af8b9549922612352..6c867f33db4d48bf4ef682577559195b2b0dfd32 100644 (file)
@@ -127,24 +127,30 @@ default_attributes(
         :revision => "master",
         :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git",
         :cgimap_revision => "feature/bulk_upload"
+      },
+      :argon2 => {
+        :repository => "https://github.com/tomhughes/openstreetmap-website.git",
+        :revision => "argon2",
+        :cgimap_repository => "https://github.com/mmd-osm/openstreetmap-cgimap.git",
+        :cgimap_revision => "feature/argon2"
       }
     }
   },
   :postgresql => {
-    :versions => ["9.1", "12"],
+    :versions => ["13"],
     :settings => {
       :defaults => {
+        :max_connections => "500",
         :shared_buffers => "1GB",
         :work_mem => "32MB",
         :maintenance_work_mem => "64MB",
         :max_stack_depth => "4MB",
         :effective_cache_size => "4GB"
       },
-      "9.1" => {
-        :port => "5433"
-      },
-      "12" => {
-        :port => "5432"
+      "13" => {
+        :port => "5432",
+        :wal_level => "logical",
+        :max_replication_slots => "1"
       }
     }
   },