diff --git a/docker-compose.minimal.yml b/docker-compose.minimal.yml index 6ba55034dc..afb6b12079 100644 --- a/docker-compose.minimal.yml +++ b/docker-compose.minimal.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 1e091c5828..6369c57432 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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