forked from ImpactInsights/valuestream
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
109 lines (102 loc) · 2.45 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
version: '2'
services:
valuestream:
build: .
ports:
- 5000:5000
environment:
- JAEGER_AGENT_HOST=jaeger-agent
- JAEGER_REPORTER_LOG_SPANS=1
- JAEGER_SAMPLER_TYPE=const
- JAEGER_SAMPLER_PARAM=1
command: "valuestream -addr=:5000 -tracer=jaeger"
networks:
- elastic-jaeger
depends_on:
- jaeger-agent
els:
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.0
restart: always
container_name: els
hostname: els
networks:
- elastic-jaeger
environment:
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ports:
- "9200:9200"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- esdata1:/usr/share/elasticsearch/data
- eslog:/usr/share/elasticsearch/logs
- ./test/jaeger-stack/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
kibana:
image: docker.elastic.co/kibana/kibana:6.0.0
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: http://els:9200
depends_on:
- els
networks:
- elastic-jaeger
jaeger-collector:
image: jaegertracing/jaeger-collector:latest
ports:
- "14267:14267"
- "14268:14268"
- "9411:9411"
depends_on:
- els
container_name: jaeger-collector
hostname: jaeger-collector
restart: unless-stopped
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://els:9200
networks:
- elastic-jaeger
command: ["--es.tags-as-fields.all=true"]
jaeger-agent:
image: jaegertracing/jaeger-agent:latest
ports:
- "5775:5775/udp"
- "5778:5778"
- "6831:6831/udp"
- "6832:6832/udp"
depends_on:
- els
- jaeger-collector
restart: unless-stopped
container_name: jaeger-agent
hostname: jaeger-agent
networks:
- elastic-jaeger
command: ["--collector.host-port=jaeger-collector:14267"]
jaeger-query:
image: jaegertracing/jaeger-query:latest
ports:
- 16686:16686
depends_on:
- els
- jaeger-collector
restart: unless-stopped
container_name: jaeger-query
hostname: jaeger-query
networks:
- elastic-jaeger
command: ["--span-storage.type=elasticsearch", "--es.server-urls=http://els:9200", "--es.sniffer=false", "--log-level=debug"]
volumes:
esdata1:
driver: local
eslog:
driver: local
networks:
elastic-jaeger:
driver: bridge