-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-obs.yml
71 lines (69 loc) · 1.98 KB
/
docker-compose-obs.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
version: "3.5"
services:
minio:
image: quay.io/minio/minio
container_name: minio
restart: always
ports:
- "9000:9000" # Expose MinIO server on port 9000
- "9001:9001" # Expose MinIO server on port 9001
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
networks:
- backend
volumes:
- minio_data:/data # Persist MinIO data
command: server /data --console-address ":9001"
jaeger:
networks:
- backend
image: jaegertracing/all-in-one:latest
# volumes:
# - "./jaeger-ui.json:/etc/jaeger/jaeger-ui.json"
# command: --query.ui-config /etc/jaeger/jaeger-ui.json
environment:
- METRICS_STORAGE_TYPE=prometheus
- PROMETHEUS_SERVER_URL=http://prometheus:9090
- PROMETHEUS_QUERY_SUPPORT_SPANMETRICS_CONNECTOR=${PROMETHEUS_QUERY_SUPPORT_SPANMETRICS_CONNECTOR:-true}
- PROMETHEUS_QUERY_NAMESPACE=${PROMETHEUS_QUERY_NAMESPACE:-}
- PROMETHEUS_QUERY_DURATION_UNIT=${PROMETHEUS_QUERY_DURATION_UNIT:-}
- PROMETHEUS_QUERY_NORMALIZE_CALLS=true
- PROMETHEUS_QUERY_NORMALIZE_DURATION=true
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
ports:
- "16686:16686"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "4317:4317"
- "4318:4318"
- "14250:14250"
- "14268:14268"
- "14269:14269"
- "9411:9411"
otel_collector:
networks:
- backend
image: otel/opentelemetry-collector-contrib:${OTEL_IMAGE_TAG:-0.89.0}
volumes:
- ${OTEL_CONFIG_SRC:-./otel-collector-config-connector.yml}:/etc/otelcol/otel-collector-config.yml
command: --config /etc/otelcol/otel-collector-config.yml
ports:
- "14278:14278"
- "8889:8889"
depends_on:
- jaeger
prometheus:
networks:
- backend
image: prom/prometheus:latest
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
ports:
- "9090:9090"
networks:
backend:
volumes:
minio_data:
driver: local