Skip to content

Commit

Permalink
fix healthcheck for AG
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Mar 15, 2024
1 parent 5caeb0d commit 87e991b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ services:
; agtool users grant anonymous root:ontoportal_test:rw
; tail -f /agraph/data/agraph.log"
healthcheck:
test: ["CMD-SHELL", "curl -m 1 -sf http://127.0.0.1:10035/repositories/ontoportal_test/status | grep -iqE '(^running|^lingering)' || exit 1"]
start_period: 60s
test: ["CMD-SHELL", "agtool storage-report ontoportal_test || exit 1"]
start_period: 30s
interval: 10s
timeout: 5s
retries: 5
timeout: 10s
retries: 10
profiles:
- ag

Expand Down

0 comments on commit 87e991b

Please sign in to comment.