570 B
570 B
MariaDB HTTP Check
Small HTTP service for checking MariaDB connectivity from the Nubes HTTP runtime.
Configuration is read from DB_HOST, DB_PORT, DB_NAME, DB_USER, and DB_PASSWORD.
The default listening port is 8080; it can be changed with PORT.
GET /healthzchecks that the process is serving requests.GET /readyzchecks MariaDB withSELECT 1and returns503while the database is unavailable.GET /returns the same readiness status as/readyz.
Build the container image with:
docker build -t naeel/mariadb-check:0.1 .