first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
9
base/unomi/1.5.1/docker-entrypoint.sh
Normal file
9
base/unomi/1.5.1/docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
until ([ "$health_check" = 'yellow' ] || [ "$health_check" = 'green' ]); do
|
||||
health_check="$(curl -fsSL "http://${UNOMI_ELASTICSEARCH_ADDRESSES}/_cat/health?h=status")"
|
||||
>&2 echo "Elastic Search is unavailable - waiting"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
exec "$@"
|
Reference in New Issue
Block a user