forked from equinor/flotilla
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (37 loc) · 1.03 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
services:
frontend:
build: frontend
ports:
- "3001:3001"
env_file: "frontend/.env"
broker:
build:
context: broker
ports:
- "1883:1883"
env_file: "broker/.env"
backend:
build: backend
ports:
- "8000:8000"
environment:
# Overwrites the ip address for the Mqtt service to connect to the Mqtt container:
- Mqtt__Host=broker
- ASPNETCORE_ENVIRONMENT=Development
- AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET} # From .env file
- OpenTelemetry__OtelExporterOtlpEndpoint=http://otel-collector:4318
aspire-dashboard:
image: mcr.microsoft.com/dotnet/aspire-dashboard
ports:
- 18888:18888
- 18889:18889
environment:
- ASPIRE_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true
otel-collector:
image: otel/opentelemetry-collector-contrib:0.132.3
command: ["--config=/conf/config.yaml"]
ports:
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
volumes:
- ./config/otel-collector-config.yaml:/conf/config.yaml:ro