feat: adds health check (default values) to docker-compose file
parent
4d96f6f19c
commit
9b80e8c410
|
|
@ -23,6 +23,11 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./geoserver_data:/opt/geoserver_data/:Z
|
- ./geoserver_data:/opt/geoserver_data/:Z
|
||||||
- ./additional_libs:/opt/additional_libs:Z # by mounting this we can install libs from host on startup
|
- ./additional_libs:/opt/additional_libs:Z # by mounting this we can install libs from host on startup
|
||||||
|
healthcheck:
|
||||||
|
test: curl --fail "http://localhost:8080/geoserver/web/wicket/resource/org.geoserver.web.GeoServerBasePage/img/logo.png" || exit 1
|
||||||
|
interval: 1m
|
||||||
|
retries: 3
|
||||||
|
timeout: 20s
|
||||||
postgis:
|
postgis:
|
||||||
image: postgis/postgis:16-3.4-alpine
|
image: postgis/postgis:16-3.4-alpine
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue