mc-webui icon indicating copy to clipboard operation
mc-webui copied to clipboard

Docker healthcheck

Open cyfra80 opened this issue 3 months ago • 0 comments

In the docker-compose.yml file, the healthcheck section has port 5000 hardcoded, which does not match the FLASK_PORT setting.

You can simple add a variable instead of a port.

However, I suggest considering a different change instead. Inside the container, I would keep a static port—for example, 5000—and set the FLASK_PORT variable only for external mapping.

After this change, you'll be able to explicitly expose a port in the Dockerfile and move the health check there.

cyfra80 avatar Aug 23 '26 22:08 cyfra80