Skip to content

Commit

Permalink
wis2box-api health check
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Jun 19, 2023
1 parent 37b0720 commit 2b2e434
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ services:
condition: service_healthy
volumes:
- api-config:/data/wis2box/config/pygeoapi/:rw
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/oapi/admin/resources"]
interval: 5s
retries: 100

minio:
container_name: wis2box-minio
Expand Down Expand Up @@ -90,7 +94,7 @@ services:
# soft: -1
# hard: -1
healthcheck:
test: ["CMD", "curl", "http://localhost:9200"]
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 5s
retries: 100

Expand Down Expand Up @@ -124,7 +128,7 @@ services:
mosquitto:
condition: service_started
wis2box-api:
condition: service_started
condition: service_healthy
command: ["wis2box", "pubsub" , "subscribe", "--broker", "http://wis2box-minio:9000", "--topic", "wis2box-storage/#"]

wis2box-auth:
Expand Down

0 comments on commit 2b2e434

Please sign in to comment.