cptactionhank / docker-atlassian-jira-software

Atlassian JIRA Software wrapped in a Docker image
https://cptactionhank.github.io/docker-atlassian-jira-software
MIT License
267 stars 165 forks source link

Add built-in healthcheck #67

Open shawngmc opened 5 years ago

shawngmc commented 5 years ago

Recommend adding a built-in health check - while it can be added after the fact, this would make it very easy to monitor container status.

Since this is alpine-based, wget is available. Jira has a built-in status endpoint at /status.

A more complex check could be done by validating the response body as status:RUNNING, but this would increase the dependency load.