-
Notifications
You must be signed in to change notification settings - Fork 494
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
Dockerfile HEALTHCHECK vs configuring the host/port for the web interface vs IPv4/IPv6 #407
Comments
The healthcheck also fails if you set the base-pathname to a non-default value via the |
Same here. If I configure the ports via environment variable in a docker-compose file the healthcheck checks the wrong port. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The healthcheck is configured to check "localhost:1080", which works iff the web interface is bound to port 1080 and "whatever-localhost-resolves-to".
Unfortunately this breaks for me (Intel mac + podman):
0.0.0.0
(seemaildev/lib/web.js
Line 118 in 87eceb0
/etc/hosts
that resolveslocalhost
to both127.0.0.1
and::1
Log from wget (trimmed a bit to remove podman-compose noise):
Workaround
I can set
MAILDEV_WEB_IP
to::
.Expectation
"Things work just fine". But, that's not trivial I think:
So maybe this could be instead added to the documentation?
The text was updated successfully, but these errors were encountered: