-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
92 lines (85 loc) · 2.68 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
version: "3.9"
services:
camunda:
image: lwluc/camunda-open-apm-demo:camunda
build: ./camunda-platform-engine
depends_on:
- otel-collector
- external-service
environment:
- JAVA_AGENT_ENABLED=true
- OTEL_SERVICE_NAME=camunda
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
entrypoint: ["sh", "-c","
./dockerize -wait=tcp://external-service:7788 -timeout=360s -- &&
sh /usr/app/entrypoint.sh"]
ports:
- "7777:7777"
external-service:
image: lwluc/camunda-open-apm-demo:external-service
build: ./external-service
depends_on:
- otel-collector
environment:
- JAVA_AGENT_ENABLED=true
- OTEL_SERVICE_NAME=external-service
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
entrypoint: [ "sh", "/usr/app/entrypoint.sh"]
ports:
- "7788:7788"
micronaut-client:
image: lwluc/camunda-open-apm-demo:micronaut-client
build: ./micronaut-client
depends_on:
- otel-collector
- camunda
- external-service
environment:
- JAVA_AGENT_ENABLED=true
- OTEL_SERVICE_NAME=micronaut-client
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
entrypoint: ["sh", "-c","
./dockerize -wait=tcp://camunda:7777 -timeout=360s -- &&
sh /usr/app/entrypoint.sh"]
otel-collector:
image: otel/opentelemetry-collector
container_name: otel-collector
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./monitoring/otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP http receiver
- "55679:55679" # zpages extension
depends_on:
- jaeger-all-in-one
- zipkin-all-in-one
jaeger-all-in-one:
image: jaegertracing/all-in-one:latest
container_name: jaeger-all-in-one
ports:
# See https://www.jaegertracing.io/docs/next-release/deployment/#collector
- "16686:16686"
- "5778"
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "14268"
zipkin-all-in-one:
image: openzipkin/zipkin:latest
container_name: zipkin-all-in-one
environment:
- JAVA_OPTS=-Xms1024m -Xmx1024m -XX:+ExitOnOutOfMemoryError
ports:
- "9411:9411"
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./monitoring/prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"