This repository contains a simple script for implementing a /health endpoint for RPC node clients using Flask.
- Docker
- Python 3.12
- Clone the repository:
git clone https://github.com/yourusername/rpc_health_checker.git
cd rpc_health_checker- Build the Docker image:
docker compose up -dThe Flask application will be running on port 53336. You can access the /health endpoint by navigating to http://localhost:53336/health.
In order to monitor the health of the health_checker, you can do: curl http://localhost:53336/healthz.
To develop and test the application locally:
- Install
uv:
pip install uv- Run the application:
uv run run.pyThis project is licensed under the Apache License License.