Skip to content

Commit f92b007

Browse files
authored
fix opensearch health check (#48)
Signed-off-by: ps48 <pshenoy36@gmail.com>
1 parent 0bc6786 commit f92b007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ services:
137137
soft: 65536
138138
hard: 65536
139139
healthcheck:
140-
test: curl -s -k -u ${OPENSEARCH_USER}:${OPENSEARCH_PASSWORD} https://localhost:9200/_cluster/health | grep -E '"status":"(green|yellow)"'
140+
test: curl -s -k -u ${OPENSEARCH_USER}:'${OPENSEARCH_PASSWORD}' https://localhost:9200/_cluster/health | grep -E '"status":"(green|yellow)"'
141141
start_period: 120s
142142
interval: 5s
143143
timeout: 10s

0 commit comments

Comments
 (0)