Edirom / MEIGarage

The MEI Garage is a "workshop" for symbolic music encoding data. It is sharing a code base with the TEI's OxGarage and offers a convenient interface to common tasks for music encoding data, both through Web and REST interfaces. It offers conversion between different formats and customization of the MEI Schema.

Home Page:https://meigarage.edirom.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add health check to Dockerfile

anneferger opened this issue · comments

In Dockerfile, using Info endpoint

HEALTHCHECK CMD curl --fail http://localhost/api/healthcheck || exit 1

HEALTHCHECK CMD curl --fail http://localhost:8080/ege-webservice/Info || exit 1

Could be more customized but is working if container is not responding.

@peterstadler close this or add some more checks?

I think this is good enough for now. If we discover failures that are not caught by this check, we'll improve it later