Skip to content

Commit

Permalink
docs(readme): quick run
Browse files Browse the repository at this point in the history
  • Loading branch information
yidinghan committed Nov 28, 2017
1 parent 8054b8f commit cf9fd9c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

elasticsearch apm-server kibana

# Quick Run

```sh
git pull https://github.com/yidinghan/eak.git
cd eak
docker-compose up -d
```

go to localhost, or whatever your IP is, with port 5601

wait for kibana is avaliable, then setup apm-server kibana dashboard

```sh
$ docker-compose exec apm-server ./apm-server setup
Loaded index template
Loaded dashboards
```

then your ready to go

# Resources
- docker elastic: https://www.docker.elastic.co/
- elasticsearch
Expand Down
7 changes: 1 addition & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ services:
links:
- elasticsearch
apm-server:
# image: docker.elastic.co/apm/apm-server:6.0.0
build: ./apm-server
ports:
- 8200:8200
environment:
- "setup.kibana.host=kibana"
- "output.elasticsearch.hosts=elasticsearch:9200"
- "apm-server.host=0.0.0.0:8200"
links:
- elasticsearch
command: ./apm-server -e -E output.elasticsearch.hosts=elasticsearch:9200 -E apm-server.host=0.0.0.0:8200 -E setup.kibana.host=kibana
# command: ./apm-server -e -E output.elasticsearch.hosts=elasticsearch:9200 -E apm-server.host=0.0.0.0:8200 -E setup.kibana.host=kibana

0 comments on commit cf9fd9c

Please sign in to comment.