oranuare
PROOP
6 months ago
Hi guys, I need some help here, what am I doing wrong?
I'm trying to setup a health check endpoint for a redis python worker, I created the endpoint with fastapi.
This is my start command:
"startCommand": "python app/main.py & uvicorn app.healthcheck:app --host :: --port $PORT"
The health endpoint I tried /health, private-nework:PORT/health, private-nework/health
And none of those work 🤔
4 Replies
6 months ago
You need to listen on 0.0.0.0 for the health check to work.
6 months ago
!s
Status changed to Solved brody • 6 months ago