-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.67 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.67 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
services:
# Local OpenID Connect issuer, an alternative to Microsoft Entra ID. See backend/README.md.
# Behind a profile, so the default `docker compose up` is unchanged. The realm is the
# one the armada integration tests import; override the path with KEYCLOAK_REALM_DIR.
keycloak:
profiles: ["keycloak"]
image: quay.io/keycloak/keycloak:26.4
command: ["start-dev", "--import-realm"]
ports:
- "8080:8080"
environment:
- KC_BOOTSTRAP_ADMIN_USERNAME=admin
- KC_BOOTSTRAP_ADMIN_PASSWORD=admin
volumes:
- ${KEYCLOAK_REALM_DIR:-../armada/robotics_integration_tests/custom_realms}:/opt/keycloak/data/import:ro
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