All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
37.37k stars 4.23k forks source link

Add /health endpoint to server #5136

Closed rbren closed 6 days ago

rbren commented 6 days ago

Added a simple /health endpoint to the server that returns "OK". This can be used for health checks and monitoring.


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:a30f4a8-nikolaik   --name openhands-app-a30f4a8   docker.all-hands.dev/all-hands-ai/openhands:a30f4a8