Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 0ff9e29

Browse files
committed
add a sample to run elk locally for testing
1 parent cca91f5 commit 0ff9e29

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

samples/run-elk-local.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
docker run -d \
3+
--name elasticsearch \
4+
-p 9200:9200 \
5+
-p 9300:9300 \
6+
-e "discovery.type=single-node" \
7+
docker.elastic.co/elasticsearch/elasticsearch:6.2.2
8+
9+
docker run -d \
10+
--name kibana \
11+
-p 5601:5601 \
12+
--link elasticsearch:elasticsearch \
13+
-e "ELASTICSEARCH_URL=http://elasticsearch:9200" \
14+
docker.elastic.co/kibana/kibana:6.2.2

0 commit comments

Comments
 (0)