forked from influxdata/influxdb-observability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (60 loc) · 1.64 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
services:
jaeger-query:
image: jaegertracing/jaeger-query:1.45
stop_grace_period: 10s
ports:
- "16686:16686" # web UI
depends_on:
- jaeger-influxdb
environment:
#QUERY_BEARER_TOKEN_PROPAGATION: true
LOG_LEVEL: warn
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: jaeger-influxdb:17271
GRPC_STORAGE_CONNECTION_TIMEOUT: 30s
QUERY_HTTP_SERVER_HOST_PORT: :16686
ADMIN_HTTP_HOST_PORT: :16687
QUERY_UI_CONFIG: /jaeger-ui-config.json
volumes:
- ./demo/jaeger-ui-config.json:/jaeger-ui-config.json:ro
jaeger-influxdb:
build:
context: .
dockerfile: jaeger-influxdb/Dockerfile
image: jaeger-influxdb:local
stop_grace_period: 10s
environment:
LOG_LEVEL: info
LISTEN_ADDR: :17271
INFLUXDB_TIMEOUT: 30s
# required: hostname or hostname:port
INFLUXDB_ADDR:
# required: bucket name
INFLUXDB_BUCKET: otel
# optional: bucket name for archived traces
INFLUXDB_BUCKET_ARCHIVE:
# required
INFLUXDB_TOKEN:
hotrod:
build:
context: .
dockerfile: demo/Dockerfile.hotrod
image: hotrod:local
stop_grace_period: 1s
ports:
- "8080:8080" # web UI
depends_on:
- otelcol-influxdb
environment:
JAEGER_AGENT_HOST: otelcol-influxdb
JAEGER_AGENT_PORT: 6831
otelcol-influxdb:
build:
context: .
dockerfile: otelcol-influxdb/Dockerfile
image: otelcol-influxdb:local
# image: otel/opentelemetry-collector-contrib:0.74.0
command: [ "--config", "/config.yml" ]
stop_grace_period: 10s
volumes:
- ./demo/otelcol-config.yml:/config.yml:ro