Justintime50 / harvey

The lightweight Docker Compose deployment runner.
https://github.com/Justintime50/harvey-ui
MIT License
13 stars 3 forks source link

Fix Container Healthchecks for "Compose" Workflows #47

Closed Justintime50 closed 3 years ago

Justintime50 commented 3 years ago

Currently, the container healthcheck functionality only works for non-compose workflows. As I solely use compose workflows in Harvey, it'd be great to get this working again.

Notes I had from a previous commit:

* Healthchecks currently fail for docker-compose deploys as the container name is specified in the compose files vs the webhook
* Fix healthchecks for compose and create a way we can line up the name in code with the name in files

Basically the health check is trying to run a healthcheck against a container whose name doesn't exist and it therefore fails.