forked from aliyun/aliyun-log-jaeger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliyunlog-jaeger-docker-compose.yml
39 lines (33 loc) · 1.53 KB
/
aliyunlog-jaeger-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
version: '2'
services:
jaeger-collector:
image: registry.cn-hangzhou.aliyuncs.com/jaegertracing/jaeger-collector:0.2.4
environment:
- SPAN_STORAGE_TYPE=aliyun-log
command: ["/go/bin/collector-linux", "--aliyun-log.project=${PROJECT}", "--aliyun-log.endpoint=${ENDPOINT}", "--aliyun-log.access-key-id=${ACCESS_KEY_ID}", "--aliyun-log.access-key-secret=${ACCESS_KEY_SECRET}", "--aliyun-log.span-logstore=${SPAN_LOGSTORE}", "--aliyun-log.init-resource-flag=false"]
ports:
- "14269"
- "14268:14268"
- "14267"
- "9411:9411"
restart: on-failure
jaeger-query:
image: registry.cn-hangzhou.aliyuncs.com/jaegertracing/jaeger-query:0.2.4
environment:
- SPAN_STORAGE_TYPE=aliyun-log
command: ["/go/bin/query-linux", "--query.static-files=/go/jaeger-ui/", "--aliyun-log.project=${PROJECT}", "--aliyun-log.endpoint=${ENDPOINT}", "--aliyun-log.access-key-id=${ACCESS_KEY_ID}", "--aliyun-log.access-key-secret=${ACCESS_KEY_SECRET}", "--aliyun-log.span-logstore=${SPAN_LOGSTORE}", "--aliyun-log.span-agg-logstore=${SPAN_AGG_LOGSTORE}", "--aliyun-log.init-resource-flag=false"]
ports:
- "16686:16686"
- "16687"
restart: on-failure
jaeger-agent:
image: jaegertracing/jaeger-agent:1.6.0
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