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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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