Sinatra application for checking the status of the websocket proxy used to access GLiMR instances within secure environments.
When called on
http://<host>:<port>/healthcheck.json
it will return:
{"service_status":"ok","dependencies":{"glimr_status":"ok"}}
for success and:
{"service_status":"failed","dependencies":{"glimr_status":"failed"}}
if GLiMR cannot be reached.
This app uses Docker Compose to run locally, which lets you spin up an app container with minimal effort:
# Set up environment variables
cp env.example .env
# Run the containers
docker-compose up
You are of course free to run the app directly too, in which case you will need to bring your own Ruby-ready environment.