Hi! I am trying to deploy streamlit app with docker-compose. But I ran into some difficulties. From time to time, my connection to the database is knocked out, and it can also give other errors. But streamlit continues to work and displays an error bar. I would like to implement a helcheck that catches any errors and restarts the container. However, GET /healthz always prints “ok”. How can I catch it?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Error checking Streamlit healthz | 2 | 685 | May 13, 2022 | |
Error checking Streamlit healthz manager error | 2 | 877 | May 13, 2022 | |
Streamlit Deployment Error: health of the Streamlit app | 6 | 648 | November 18, 2023 | |
Getting error:[manager] Error checking Streamlit healthz: Get "http://localhost:8501/healthz": | 5 | 8203 | July 1, 2024 | |
Creating a health_check endpoint in streamlit | 2 | 9623 | January 12, 2022 |