Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix MailDev docker-compose exposes the wrong port #3567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
Loading
from

Conversation

Brunoaqu
Copy link

Description

I altered the docker-compose.yml MailDev UI port to fix MailDev UI not beeing accessible from http://localhost:1080

Motivation and Context

I was trying to run MailDev and was surprised when I couldn't access the UI through localhost. Upon reading the documentation, I found out the port that is used inside the container for the MailDev UI should be 1080 and not 80.

So I made the following change and was able to access it though localhost:

ports:
- "${MAILDEV_HTTP_PORT}:80 -> 1080"
- "${MAILDEV_SMTP_PORT}:25"

Types of Changes

  • Bug fix: changed maildev ui port 80 -> 1080.

Definition of Done Checklist:

  • I've read the Contribution Guide.
  • I've updated the documentation. (refer to this for how to do so).
  • I enjoyed my time contributing and making developer's life easier :)

@kiksy
Copy link

kiksy commented Jan 29, 2025

Thanks for this. I came across this bug as well.

MailDev

maildev:
  restart: always
  build: ./maildev
  ports:
    - "${MAILDEV_HTTP_PORT}:1080"
    - "${MAILDEV_SMTP_PORT}:25"
  networks:
    - frontend
    - backend

Made the UI accessible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.