argos/ELK.Docker/old/scripts/setup-logstash.sh

11 lines
210 B
Bash
Raw Normal View History

2018-06-27 12:29:21 +02:00
#!/bin/bash
set -euo pipefail
es_url=http://elastic:${ELASTIC_PASSWORD}@elasticsearch:9200
# Wait for Elasticsearch to start up before doing anything.
until curl -s $es_url -o /dev/null; do
sleep 1
done