forked from equinor/flotilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (30 loc) · 959 Bytes
/
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
version: "3.7"
services:
frontend:
build: frontend
ports:
- "3001:3001"
environment:
- REACT_APP_AI_CONNECTION_STRING=
- REACT_APP_BACKEND_URL=http://localhost:8000
- REACT_APP_BACKEND_API_SCOPE=api://ea4c7b92-47b3-45fb-bd25-a8070f0c495c/user_impersonation
- REACT_APP_FRONTEND_URL=http://localhost:3001
- REACT_APP_FRONTEND_BASE_ROUTE=
- REACT_APP_AD_CLIENT_ID=f5993820-b7e2-4791-886f-f9f5027dc7be
- REACT_APP_AD_TENANT_ID=3aa4a235-b6e2-48d5-9195-7fcf05b459b0
broker:
build:
context: broker
ports:
- "1883:1883"
environment:
- TLS_SERVER_KEY=${FLOTILLA_BROKER_SERVER_KEY}
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=${FLOTILLA_CLIENT_SECRET}