When I use a docker-compose instance the geoserver container seems to be persistently unhealthy when I look at the status from docker ps.
I had a look at the health check in the docker-compose.yml.
Geoserver container 8080 is exposed on my host machine as 8600.
I tried the following manually.
So I'm wondering if
curl --fail -s http://localhost:8080/geoserver || exit 1
might work better for the health check?
Seems to be working for me but haven't left it running for long.
https://github.com/kartoza/docker-geoserver/blob/fb1ccdf1bae5f7e74e0b346808b6b997ceeef178/docker-compose.yml#L34
(I'm currently running several commits behind @ https://github.com/kartoza/docker-geoserver/commit/dc583dec27a6efc0f52de383c3344ab9f5f27fbb )
When I use a docker-compose instance the geoserver container seems to be persistently
unhealthy
when I look at the status fromdocker ps
.I had a look at the health check in the
docker-compose.yml
. Geoserver container 8080 is exposed on my host machine as 8600. I tried the following manually.So I'm wondering if
curl --fail -s http://localhost:8080/geoserver || exit 1
might work better for the health check? Seems to be working for me but haven't left it running for long.