Skip to content
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

fix: update ports for maildev to 1080 and 1025 #3710

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

timotheeg
Copy link
Contributor

@timotheeg timotheeg commented Apr 6, 2022

Context

maildev has released a new docker image on 2022-03-30, which changed the internal app ports.

The smtp server now runs on port 1025 (was 25), the web interface runs in port 1080 (was 80). This was done on purpose in this PR.

This change in port causes the docker setup for FormSG to break since the app can't connect to the mail server, and so the ports need to be updated.

Approach

Update both the web app and smtp port for maildev.

The PR targets branch develop, and we can merge develop into form-v2/develop later.

@timotheeg timotheeg changed the title fix: pin maildev image version in docker-compose.yml fix: update ports for maildev to 1080 and 1025 Apr 6, 2022
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

We can also explore adding command args to set the port in compose so it is clear what the port mappings are instead of relying on the defaults (which may change as it did now)

@karrui karrui merged commit aec58f9 into develop Apr 7, 2022
@karrui karrui deleted the pin_maildev_docker_image_version branch April 7, 2022 02:52
@karrui karrui mentioned this pull request Apr 12, 2022
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.

None yet

2 participants