Commit 9f81fcdd by David Committed by GitHub

Devenv: fix kibana in elastic7 docker block (#20308)

* Devenv: fix kibana in elastic7 docker block

* Remove network host mode for metricbeat container
parent 08fcff10
......@@ -26,7 +26,6 @@
metricbeat7:
image: docker.elastic.co/beats/metricbeat-oss:7.0.0
network_mode: host
command: metricbeat -e -strict.perms=false
user: root
volumes:
......@@ -37,5 +36,7 @@
image: docker.elastic.co/kibana/kibana-oss:7.0.0
ports:
- "5601:5601"
links:
- elasticsearch7
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch7:9200
......@@ -28,7 +28,7 @@ processors:
- add_cloud_metadata: ~
output.elasticsearch:
hosts: ["localhost:12200"]
hosts: ["elasticsearch7:9200"]
index: "metricbeat-%{+yyyy.MM.dd}"
setup.template.name: "metricbeat"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment