diff --git a/README.md b/README.md index d9627a8..257fbf0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index d44ef0d..5afb73f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + # command: ./apm-server -e -E output.elasticsearch.hosts=elasticsearch:9200 -E apm-server.host=0.0.0.0:8200 -E setup.kibana.host=kibana \ No newline at end of file