File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,13 @@ services:
163163 hard : -1
164164 ports :
165165 - 9200
166- - 9600
166+ - 9600
167167 healthcheck :
168- test : test $$(curl -uadmin:$${OPENSEARCH_INITIAL_ADMIN_PASSWORD:-!ChangeMe0!} -k --write-out %{http_code} --fail --silent --output /dev/null https://localhost:9200/_cluster/health?wait_for_status=green&timeout=5s) -eq 200
168+ test : >
169+ bash -c "curl -uadmin:\${OPENSEARCH_INITIAL_ADMIN_PASSWORD:-!ChangeMe0!}
170+ -k --silent --fail --write-out '%{http_code}' --max-time 4
171+ https://localhost:9200/_cluster/health |
172+ grep -q '\"status\":\"green\"'"
169173 interval : 10s
170174 timeout : 5s
171175 retries : 20
Original file line number Diff line number Diff line change 1+ {
2+ "dev" : {
3+ "name" : " value"
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments