-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (63 loc) · 1.66 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
54
55
56
57
58
59
60
61
62
63
64
version: '3.4'
services:
inventura-sql:
image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
restart: unless-stopped
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=PlanesCarsAndTrains4321
- MSSQL_PID=Developer
ports:
- 1401:1433
networks:
- inventuranet
identity-sql:
image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
restart: unless-stopped
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=PlanesCarsAndTrains4321
- MSSQL_PID=Developer
ports:
- 1402:1433
networks:
- inventuranet
identity-server:
restart: unless-stopped
build:
context: .
dockerfile: ./src/IdentityServerAspNetIdentity/Dockerfile
environment:
- ConnectionStrings:DefaultConnection=Data Source=identity-sql,1433;User=sa;Password=PlanesCarsAndTrains4321;Initial Catalog=IdentityDb
ports:
- 5001:5001
networks:
- inventuranet
links:
- identity-sql
depends_on:
- identity-sql
public-api:
restart: unless-stopped
build:
context: .
dockerfile: ./src/PublicApi/Dockerfile
environment:
- ConnectionStrings:DbConnection=Server=inventura-sql,1433;User=sa;Password=PlanesCarsAndTrains4321;Initial Catalog=AppDb
- ConnectionStrings:IdentityAuthority=http://identity-server:5001
- Issuer=http://localhost:5001,http://10.0.2.2:5001
- SendGridApiKey=
- SendGridSenderAddress=
ports:
- 5098:5098
networks:
- inventuranet
links:
- inventura-sql
- identity-server
depends_on:
- inventura-sql
- identity-server
networks:
inventuranet:
driver: bridge