-
-
Save imchao9/6a515c75c82ecbfc684c450fd4ddd5fa to your computer and use it in GitHub Desktop.
Elastic APM docker-compose file
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' | |
services: | |
elasticsearch: | |
image: elasticsearch:6.6.1 | |
environment: | |
- cluster.name=docker-cluster | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- esdata1:/usr/share/elasticsearch/data | |
ports: | |
- "9200:9200" | |
network_mode: bridge | |
apm: | |
build: ./ | |
depends_on: | |
- elasticsearch | |
network_mode: bridge | |
ports: | |
- "8200:8200" | |
links: | |
- "elasticsearch:elasticsearch" | |
kibana: | |
image: kibana:6.6.2 | |
depends_on: | |
- elasticsearch | |
volumes: | |
- ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml | |
ports: | |
- "5601:5601" | |
network_mode: bridge | |
links: | |
- "elasticsearch:elasticsearch" | |
volumes: | |
esdata1: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment