]> git.openstreetmap.org Git - chef.git/commitdiff
Use dedicated port for discourse mail-receiver service
authorGrant Slater <git@firefishy.com>
Thu, 10 Mar 2022 13:51:22 +0000 (13:51 +0000)
committerGrant <github@firefishy.com>
Thu, 10 Mar 2022 14:09:24 +0000 (14:09 +0000)
cookbooks/community/templates/default/mail-receiver.yml.erb
roles/mail.rb

index 91b21cef1008ccfa704d850f962b7d9525bfc93b..4460d30f9b4fa27abd73b21008816f050dcf1dec 100644 (file)
@@ -11,7 +11,7 @@ base_image: discourse/mail-receiver:release
 update_pups: false
 
 expose:
-  - "25:25"   # SMTP
+  - "2500:25"   # SMTP
 
 env:
   LC_ALL: en_US.UTF-8
index bb64e08145cdc862adc85083c87392134171b459..c2de47e92b0e9c3bc39049100324e2a766e7e023 100644 (file)
@@ -50,7 +50,7 @@ default_attributes(
       :discourse => {
         :comment => "community.osmfoundation.org",
         :domains => ["community.osmfoundation.org"],
-        :host => "lockheed.ams.openstreetmap.org"
+        :host => "lockheed.ams.openstreetmap.org::2500"
       }
     },
     :dkim_selectors => {