Mailhog's forward ports configurable (#5518)

To avoid port clash between different projects running on the same machine, it could be useful making mailhog's port configurable.
This commit is contained in:
Alessandro Cabutto
2021-01-13 15:02:26 +01:00
committed by GitHub
parent c6059645a6
commit 31a4fc998b

View File

@@ -60,8 +60,8 @@ services:
mailhog: mailhog:
image: 'mailhog/mailhog:latest' image: 'mailhog/mailhog:latest'
ports: ports:
- 1025:1025 - '${FORWARD_MAILHOG_PORT:-1025}:1025'
- 8025:8025 - '${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025'
networks: networks:
- sail - sail
networks: networks: