Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running Jaeger v1.11 backed by Elasticsearch OSS v6.7.0 using Docker Compose
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.0
environment:
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xmx256m -Xms256m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
- 9300:9300
networks:
- elk
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.7.0
environment:
- "SERVER_NAME=kibana"
- "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
ports:
- 5601:5601
networks:
- elk
depends_on:
- "elasticsearch"
jaeger-collector:
image: jaegertracing/jaeger-collector:1.11
environment:
- "SPAN_STORAGE_TYPE=elasticsearch"
ports:
- "14268:14268"
- "14267"
- "9411:9411"
restart: on-failure
command: ["--es.server-urls=http://elasticsearch:9200", "--span-storage.type=elasticsearch", "--log-level=error"]
networks:
- elk
jaeger-query:
image: jaegertracing/jaeger-query:1.11
ports:
- "16686:16686"
restart: on-failure
command: ["--es.server-urls=http://elasticsearch:9200", "--span-storage.type=elasticsearch", "--log-level=debug", "--es.sniffer=false"]
depends_on:
- elasticsearch
- jaeger-collector
networks:
- elk
jaeger-agent:
image: jaegertracing/jaeger-agent:1.11
environment:
- "SPAN_STORAGE_TYPE=elasticsearch"
command: ["--collector.host-port=jaeger-collector:14267"]
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
restart: on-failure
depends_on:
- jaeger-collector
- elasticsearch
networks:
- elk
networks:
elk:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.