High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Fix Mailhog port not being available inside the dev container.
Kailash Nadhdb19a7c02931
diff --git a/dev/docker-compose.yml b/dev/docker-compose.ymlindex 69142c46..c3e1c5b6 100644--- a/dev/docker-compose.yml+++ b/dev/docker-compose.yml@@ -7,9 +7,8 @@ services:mailhog:image: mailhog/mailhog:v1.0.1- ports:- - "127.0.0.1:1025:1025" # SMTP- - "127.0.0.1:8025:8025" # UI+ # Share 'localhost' with the dev container.+ network_mode: "service:dev"db:image: postgres:18@@ -40,15 +39,15 @@ services:LISTMONK_db__password: listmonk-devLISTMONK_db__database: listmonk-devMAILHOG_EXTERNAL: "1"- MAILHOG_URL: http://mailhog:8025- MAILHOG_SMTP_HOST: mailhog+ MAILHOG_URL: http://localhost:8025+ MAILHOG_SMTP_HOST: localhostports:- "127.0.0.1:9000:9000"+ - "127.0.0.1:1025:1025" # MailHog SMTP+ - "127.0.0.1:8025:8025" # MailHog UIdepends_on:db:condition: service_healthy- mailhog:- condition: service_startedvolumes:- ../:/app- go-mod:/go/pkg/mod