-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-cwbi.yml
More file actions
66 lines (60 loc) · 1.81 KB
/
Copy pathdocker-compose-cwbi.yml
File metadata and controls
66 lines (60 loc) · 1.81 KB
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
name: regi-headless-cwbi
services:
app:
build:
context: .
dockerfile: Dockerfile-cwbi-copy.dockerfile
command: ["python", "/jobs/GateFlowCalc2_Jpype.py"]
environment:
- OTEL_SERVICE_NAME=regi-headless
- OTEL_TRACES_EXPORTER=otlp
- OTEL_METRICS_EXPORTER=otlp
- OTEL_LOGS_EXPORTER=otlp
- OTEL_BSP_SCHEDULE_DELAY=1000
- OTEL_EXPORTER_OTLP_PROTOCOL=grpc
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
- OTEL_INSTRUMENTATION_OKHTTP_ENABLED=true
- OTEL_INSTRUMENTATION_METHODS_ENABLED=true
- CDA_URL=http://host.docker.internal:7001/swt-data
- API_KEY=apikey M5HECTEST
- OFFICE_ID=SWT
depends_on:
- otel-collector
volumes:
- ./regi-headless/build/install/regi-headless/dist:/app/local_dist
- ./regi-headless/src/test/resources/usace/rowcps/headless/examples/GateFlowCalc2_Jpype.py:/jobs/GateFlowCalc2_Jpype.py
- ./empty_dir:/jobs/bin
- ./empty_dir:/jobs/python
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-config.yaml:/etc/otel-collector-config.yaml
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "4317:4317"
prometheus:
image: prom/prometheus
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
loki:
image: grafana/loki:latest
ports:
- "3100:3100"
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- ./datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
depends_on:
- prometheus
- jaeger
- loki