-
Notifications
You must be signed in to change notification settings - Fork 61
/
docker-compose.yaml
98 lines (93 loc) · 3.24 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
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
93
94
95
96
97
98
version: "3.8"
services:
consumer:
build:
context: open-telemetry-runtime
volumes:
- ./:/open-telemetry
- ../../transfer/transfer-00-prerequisites/:/prerequisites
ports:
- "29193:29193"
- "29194:29194"
environment:
EDC_HOSTNAME: consumer
OTEL_SERVICE_NAME: consumer
OTEL_LOGS_EXPORTER: none
OTEL_JAVAAGENT_EXTENSIONS: /app/opentelemetry-exporter-otlp.jar
OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
OTEL_METRICS_EXPORTER: prometheus
WEB_HTTP_PORT: 29191
WEB_HTTP_PATH: /api
WEB_HTTP_PUBLIC_PORT: 29291
WEB_HTTP_PUBLIC_PATH: /public
WEB_HTTP_CONTROL_PORT: 29192
WEB_HTTP_CONTROL_PATH: /control
WEB_HTTP_MANAGEMENT_PORT: 29193
WEB_HTTP_MANAGEMENT_PATH: /management
WEB_HTTP_PROTOCOL_PORT: 29194
WEB_HTTP_PROTOCOL_PATH: /protocol
WEB_HTTP_VERSION_PORT: 29195
WEB_HTTP_VERSION_PATH: /version
EDC_CONTROL_ENDPOINT: http://consumer:29192/control
EDC_DSP_CALLBACK_ADDRESS: http://consumer:29194/protocol
EDC_PARTICIPANT_ID: consumer
EDC_API_AUTH_KEY: password
EDC_KEYSTORE: /prerequisites/resources/certs/cert.pfx
EDC_KEYSTORE_PASSWORD: 123456
EDC_FS_CONFIG: /prerequisites/resources/configuration/provider-configuration.properties
entrypoint: java
-javaagent:/app/opentelemetry-javaagent.jar
-Djava.util.logging.config.file=/open-telemetry/resources/logging.properties
-jar /app/connector.jar
provider:
build:
context: open-telemetry-runtime
volumes:
- ./:/open-telemetry
- ../../transfer/transfer-00-prerequisites/:/prerequisites
ports:
- "19193:19193"
- "19192:19192"
environment:
EDC_HOSTNAME: provider
OTEL_SERVICE_NAME: provider
OTEL_LOGS_EXPORTER: none
OTEL_JAVAAGENT_EXTENSIONS: /app/opentelemetry-exporter-otlp.jar
OTEL_EXPORTER_OTLP_ENDPOINT: http://jaeger:4318
WEB_HTTP_PORT: 19191
WEB_HTTP_PATH: /api
WEB_HTTP_PUBLIC_PORT: 19291
WEB_HTTP_PUBLIC_PATH: /public
WEB_HTTP_CONTROL_PORT: 19192
WEB_HTTP_CONTROL_PATH: /control
WEB_HTTP_MANAGEMENT_PORT: 19193
WEB_HTTP_MANAGEMENT_PATH: /management
WEB_HTTP_PROTOCOL_PORT: 19194
WEB_HTTP_PROTOCOL_PATH: /protocol
WEB_HTTP_VERSION_PORT: 19195
WEB_HTTP_VERSION_PATH: /version
EDC_CONTROL_ENDPOINT: http://provider:19192/control
EDC_DSP_CALLBACK_ADDRESS: http://provider:19194/protocol
EDC_PARTICIPANT_ID: provider
EDC_API_AUTH_KEY: password
EDC_KEYSTORE: /prerequisites/resources/certs/cert.pfx
EDC_KEYSTORE_PASSWORD: 123456
EDC_FS_CONFIG: /prerequisites/resources/configuration/consumer-configuration.properties
EDC_SAMPLES_TRANSFER_01_ASSET_PATH: /open-telemetry/README.md
entrypoint: java
-javaagent:/app/opentelemetry-javaagent.jar
-Djava.util.logging.config.file=/open-telemetry/resources/logging.properties
-jar /app/connector.jar
jaeger:
image: jaegertracing/all-in-one
environment:
- COLLECTOR_OTLP_ENABLED=true
ports:
- "4317:4317"
- "16686:16686"
prometheus:
image: prom/prometheus:v2.30.3
volumes:
- ./prometheus/:/etc/prometheus/
ports:
- "9090:9090"