Health check fails with Docker image even though endpoint is reachable
brendonovich
HOBBYOP

3 months ago

Project ID: abcb52a5-176a-41aa-94a7-4e2939f68f06

My project has a couple of deployments of this Docker image, which exposes an /api/health endpoint that responds with an empty 200.

The health check endpoint is reachable from the current deployment (https://dev.macrograph.app/api/health), but when I add /api/health as a health check endpoint the deployment never succeeds.

image.png

Attachments

Solved

3 Replies

3 months ago

Do you have a PORTenv var set?


brendonovich
HOBBYOP

3 months ago

No, only an EXPOSE in the dockerfile and public networking setup. Will add that


brendonovich
HOBBYOP

3 months ago

Ok works now haha, tyvm


Status changed to Solved medim 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...