tenseleyflow/shithub / 708189e

Browse files

swap MailHog for Mailpit (native arm64, drop-in)

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
708189ecde3b65515f9ddf706fc7fc1a77cd4ff7
Parents
1238ab9
Tree
80f7dfb

1 changed file

StatusFile+-
M docker-compose.yml 10 1
docker-compose.ymlmodified
@@ -63,10 +63,19 @@ services:
6363
   # Local SMTP catcher (S05). The shithub auth flow writes signup /
6464
   # password-reset emails here when SHITHUB_AUTH__EMAIL_BACKEND=smtp.
6565
   # Web UI: http://127.0.0.1:8025
66
+  #
67
+  # We use Mailpit instead of the original MailHog: it's the actively
68
+  # maintained successor, ships native arm64 + amd64 images (so Apple
69
+  # Silicon hosts don't run it under x86 emulation), keeps the same
70
+  # SMTP/UI port shape, and offers the same "swallow all mail and
71
+  # show it in a web UI" semantics.
6672
   mailhog:
67
-    image: mailhog/mailhog:latest
73
+    image: axllent/mailpit:latest
6874
     container_name: shithub-mailhog
6975
     restart: unless-stopped
76
+    environment:
77
+      MP_SMTP_BIND_ADDR: "0.0.0.0:1025"
78
+      MP_UI_BIND_ADDR: "0.0.0.0:8025"
7079
     ports:
7180
       - "127.0.0.1:1025:1025" # SMTP
7281
       - "127.0.0.1:8025:8025" # web UI