While running 2 service via docker compose, where one is the plantuml-server and the other depends on the plantuml-server, I want to have a healthcheck on the plantuml-server.
Most suggestions for healthcheck suggest using curl or wget, but neither are present in the images.
Feature request
While running 2 service via docker compose, where one is the plantuml-server and the other depends on the plantuml-server, I want to have a healthcheck on the plantuml-server.
Most suggestions for healthcheck suggest using
curl
orwget
, but neither are present in the images.Output
dependency failed to start: container plantuml-plantuml-server-1 is unhealthy
Proposed solution
Currently the Dockerfile contains an instruction to run
apt-get remove -y curl
, which makes curl unavailable. My suggestion is to stop that remove.Alternatives
Currently I build my own image on top of plantuml-server, where I reinstall curl.
My Dockerfile
Additional context
220