Health check for Docker container not running gunicorn, nginx

Hi there,

Can someone recommend a way to allow the health check / successful deployments to pass for my Docker web service? The service isn’t running a web server, rather it is making webhook requests to another service on a schedule. I can’t figure out how to tell the system the container is healthy without hosting a url and returning a 200 via gunicorn, nginx etc. Thanks for the help!

Hi Josh,

Thanks for reaching out.

If you’re not running a web server, a Render Web Service doesn’t sound like the right choice. It sounds like a Cron Job or Background Worker would be more suited to the workflow you described.

Hope that helps

Alan

Thank you, I just went back to look at the cron offered and somehow missed I could run a python script from within my repo. Amazing. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.