forked from xuejmnet/AiursoftOnContainers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (52 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
58 lines (52 loc) · 1.07 KB
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
version: '3.6'
services:
db:
image: microsoft/mssql-server-linux:2017-latest
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Pass@word
ports:
- "1433:1433"
account:
image: aiursoft/account:${TAG:-latest}
build:
context: .
dockerfile: Account/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
- db
ports:
- "5000:5000"
network_mode: "host"
api:
image: aiursoft/api:${TAG:-latest}
build:
context: .
dockerfile: API/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
expose:
- 5001
depends_on:
- db
network_mode: "host"
cdn:
image: aiursoft/cdn:${TAG:-latest}
build:
context: .
dockerfile: CDN/Dockerfile
ports:
- "5002:80"
developer:
image: aiursoft/developer:${TAG:-latest}
build:
context: .
dockerfile: Developer/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
expose:
- 5004
depends_on:
- db
network_mode: "host"