Loading docker-compose.tmpl.yml +3 −6 Original line number Diff line number Diff line Loading @@ -20,8 +20,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] timeout: 10s retries: 3 Loading @@ -46,8 +45,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] interval: 30s timeout: 10s Loading @@ -73,8 +71,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] interval: 30s timeout: 10s Loading Loading
docker-compose.tmpl.yml +3 −6 Original line number Diff line number Diff line Loading @@ -20,8 +20,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] timeout: 10s retries: 3 Loading @@ -46,8 +45,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] interval: 30s timeout: 10s Loading @@ -73,8 +71,7 @@ services: - ELASTIC_USER_ROLE healthcheck: test: > status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); status=$$(curl --write-out %{http_code} --silent --output /dev/null -u "${ELASTIC_USER}:${ELASTIC_USER_PASS}" localhost:${PORT1}/_cluster/health); [ "$${status}" -eq "200" ] || [ "$${status}" -eq "401" ] interval: 30s timeout: 10s Loading