Remove kibana_ip

This commit is contained in:
Manuel Gutierrez
2021-02-02 19:00:06 +01:00
parent cd7d882261
commit 7a99967144

View File

@@ -37,12 +37,6 @@ if [ "$XPACK_SECURITY_ENABLED" != "" ]; then
echo "xpack.security.enabled: $XPACK_SECURITY_ENABLED" >> /usr/share/kibana/config/kibana.yml
fi
if [ "$KIBANA_IP" != "" ]; then
kibana_ip="$KIBANA_IP"
else
kibana_ip="kibana"
fi
# Add auth headers if required
if [ "$ELASTICSEARCH_USERNAME" != "" ] && [ "$ELASTICSEARCH_PASSWORD" != "" ]; then
curl_auth="-u $ELASTICSEARCH_USERNAME:$ELASTICSEARCH_PASSWORD"