-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 984 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
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.8'
services:
api:
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:80"
- "5001:443"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_Kestrel__Certificates__Default__Password=password
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
volumes:
- ~/.aspnet/https:/https:ro
depends_on:
- mssql
- efmapi
mssql:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=YourStrong!Passw0rd
- ACCEPT_EULA=Y
ports:
- "1433:1433"
volumes:
- mssql-data:/var/opt/mssql
efmapi:
image: efmapi:latest
ports:
- "8000:80"
environment:
- EFMAPI_ENDPOINT=http://efmapi
- EFMAPI_CERTIFICATE_PATH=/certs/efmapi.crt
- EFMAPI_CERTIFICATE_PASSWORD=password
volumes:
- ./certs:/certs:ro
volumes:
mssql-data: