Skip to content

Commit

Permalink
Fix opensearch healthcheck (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianocosta89 authored Oct 14, 2024
1 parent 34d95c9 commit 0e48b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ services:
ports:
- "9200"
healthcheck:
test: curl -s http://localhost:9200/_cluster/health | grep status | grep -q '\\(green\\|yellow\\)'
test: curl -s http://localhost:9200/_cluster/health | grep '"status":"green"'
start_period: 10s
interval: 5s
timeout: 10s
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ services:
ports:
- "9200"
healthcheck:
test: curl -s http://localhost:9200/_cluster/health | grep -q '"status":"green"'
test: curl -s http://localhost:9200/_cluster/health | grep '"status":"green"'
start_period: 10s
interval: 5s
timeout: 10s
Expand Down

0 comments on commit 0e48b4b

Please sign in to comment.