Skip to content

Commit

Permalink
Add a healthcheck for Blazegraph in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Sep 30, 2024
1 parent be51996 commit 6fbfe22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
elasticsearch:
condition: service_healthy
blazegraph:
condition: service_started
condition: service_healthy
postgres:
condition: service_started
storage-service:
Expand Down Expand Up @@ -133,6 +133,11 @@ services:
JAVA_OPTS: "-Dlog4j.configuration=/config/blazegraph/log4j.properties -DjettyXml=/config/blazegraph/jetty.xml -Djava.awt.headless=true -XX:MaxDirectMemorySize=300m -Xms4g -Xmx4g -XX:+UseG1GC"
ports:
- 9999:9999
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9999/blazegraph/" ]
interval: 1s
timeout: 2s
retries: 60
volumes:
- ./config:/config

Expand Down

0 comments on commit 6fbfe22

Please sign in to comment.