Last active
February 4, 2020 18:47
-
-
Save bvader/9665fa7b3bd69457517e41a7c28b4725 to your computer and use it in GitHub Desktop.
Elastic APM Quickstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3.1' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:${TAG} | |
environment: ['ES_JAVA_OPTS=-Xms2g -Xmx2g','bootstrap.memory_lock=true','discovery.type=single-node', 'http.host=0.0.0.0', 'transport.host=127.0.0.1'] | |
ports: ['127.0.0.1:9200:9200'] | |
networks: ['stack'] | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:${TAG} | |
ports: ['127.0.0.1:5601:5601'] | |
networks: ['stack'] | |
depends_on: ['elasticsearch'] | |
apm-server: | |
image: docker.elastic.co/apm/apm-server:${TAG} | |
ports: | |
- "127.0.0.1:8200:8200" | |
- "127.0.0.1:6060:6060" | |
networks: ['stack'] | |
depends_on: ['elasticsearch'] | |
command: > | |
apm-server -e | |
-E apm-server.rum.enabled=true | |
-E apm-server.rum.event_rate.limit=1000 | |
networks: {stack: {}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment