-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
48 lines (43 loc) · 1.21 KB
/
docker-compose.yaml
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
version: "3"
services:
user-service:
image: user-service:v1
ports:
- "8080:8080"
environment:
- OTEL_COLLECTOR_ENDPOINT=otel-collector:4317
reservations-service:
image: reservations-service:v1
ports:
- "8081:8081"
environment:
- OTEL_COLLECTOR_ENDPOINT=otel-collector:4317
- USER_SERVICE_URL=http://user-service:8080
otel-collector:
image: otel/opentelemetry-collector:latest
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
command: ["--config=/etc/otel-collector-config.yaml"]
ports:
- "4317" # otlp grpc
tempo:
image: grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml"]
volumes:
- ./tempo.yaml:/etc/tempo.yaml
- ./tempo-data:/tmp/tempo
ports:
- "3200" # tempo
- "9095" # tempo grpc
- "4317" # otlp grpc
grafana:
image: grafana/grafana:10.1.1
volumes:
- ./grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
ports:
- "3000:3000"