forked from fullstackhero/blazor-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (31 loc) · 883 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
32
name: 'cleanblazor'
version: '3.4'
services:
cleanblazor:
build:
context: .
dockerfile: src/Server/Dockerfile
environment:
- "ConnectionStrings__DefaultConnection=Server=localhost,1433;Database=CleanBlazor;User=sa;Password=3Hg3QF2dQWoaeT;TrustServerCertificate=True;"
- "ASPNETCORE_Kestrel__Certificates__Default__Password=securePassword123"
- "ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx"
volumes:
- ~/.aspnet/https:/https:ro
ports:
- "5005:5005"
- "5006:5006"
depends_on:
- db
restart: no
container_name: cleanblazor
profiles:
- donotstart
db:
image: "mcr.microsoft.com/mssql/server"
environment:
- "MSSQL_SA_PASSWORD=${MSSQL_SA_PASSWORD}"
- "ACCEPT_EULA=Y"
ports:
- "1433:1433"
- "1933:1933"
container_name: mssql