-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
53 lines (49 loc) · 1.26 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3"
services:
# SQL Server
azuresqledge:
image: mcr.microsoft.com/azure-sql-edge:latest
environment:
- MSSQL_SA_PASSWORD=Rewards.Docker1!
- ACCEPT_EULA=1
ports:
- 1433:1433
# Azurite
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- 10000:10000
- 10001:10001
- 10002:10002
# API
webapi:
depends_on:
- azuresqledge
build:
dockerfile: src/WebAPI/Dockerfile
ports:
- 5001:5001
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:5001
- ASPNETCORE_Kestrel__Certificates__Default__Password=ThisPassword
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/WebAPI.pfx
volumes:
- ${CERTS_PATH}:/https:ro
profiles: ["all", "webapi"]
# Admin UI
adminui:
depends_on:
- azuresqledge
build:
dockerfile: src/AdminUI/Dockerfile
ports:
- 7137:7137
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:7137
- ASPNETCORE_Kestrel__Certificates__Default__Password=ThisPassword
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/WebAPI.pfx
volumes:
- ${CERTS_PATH}:/https:ro
profiles: ["all", "admin"]