docs: fix issues
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / artifacts / kibana / config.sh
1 #!/bin/bash
2 # This script configures kibana to connect to the elasticsearch server
3 # to access data and to export the app url on port 5601:
4 # The environment variable elasticsearch_ip and kibana_ip are expected
5 # to be set up.
6 sed -i 's/localhost/'$elasticsearch_ip'/' /opt/kibana/config/kibana.yml
7 sed -i 's/0.0.0.0/'$kibana_ip'/' /opt/kibana/config/kibana.yml