]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
community: fix acme cert redirect. Add DB backup
[chef.git] / roles / dev.rb
index 8c3de8d38181c45e3576c00ddbffec78da187056..1da4ad0576fecff36f3782b84dd94ef461df930c 100644 (file)
@@ -121,31 +121,24 @@ default_attributes(
       :microcosms => {
         :repository => "https://github.com/openbrian/osm-microcosms.git",
         :revision => "microcosms"
-      },
-      :upload => {
-        :repository => "https://git.openstreetmap.org/public/rails.git",
-        :revision => "master",
-        :cgimap_repository => "https://github.com/zerebubuth/openstreetmap-cgimap.git",
-        :cgimap_revision => "feature/bulk_upload"
       }
     }
   },
   :postgresql => {
-    :versions => ["9.1", "12"],
+    :versions => ["14"],
     :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" => {
+      "14" => {
         :port => "5432",
-        :wal_level => "logical"
+        :wal_level => "logical",
+        :max_replication_slots => "1"
       }
     }
   },