-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
122 lines (114 loc) · 2.75 KB
/
Copy pathdocker-compose.yml
File metadata and controls
122 lines (114 loc) · 2.75 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
healthcheck:
test: ["CMD", "rabbitmqctl", "status"]
interval: 10s
timeout: 5s
retries: 5
api-gateway:
build:
context: ./ApiGateway
dockerfile: Dockerfile
container_name: api-gateway
ports:
- "5285:80"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:80"
depends_on:
rabbitmq:
condition: service_healthy
user-api:
condition: service_started
auditing-api:
condition: service_started
accesscontrol-api:
condition: service_started
document.api:
condition: service_started
user-api:
build:
context: ./User/User.API
dockerfile: Dockerfile
container_name: user-api
ports:
- "5001:80"
depends_on:
rabbitmq:
condition: service_healthy
user-sqlserver:
condition: service_started
user-sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: user-sqlserver
ports:
- "1434:1434"
environment:
SA_USER: "sa"
SA_PASSWORD: "YourStrong!Password"
ACCEPT_EULA: "Y"
accesscontrol-api:
build:
context: .
dockerfile: Access_Control/AccessControl.Api/Dockerfile
container_name: accesscontrol-api
ports:
- "5004:80"
environment:
RabbitMq__Host: "rabbitmq"
ASPNETCORE_ENVIRONMENT: "Development"
depends_on:
rabbitmq:
condition: service_healthy
document.api:
build:
context: .
dockerfile: Document/Document.API/Dockerfile
container_name: document-api
ports:
- "5005:80"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:80"
depends_on:
rabbitmq:
condition: service_healthy
log-saver:
build:
context: ./log-saver
dockerfile: Dockerfile
container_name: log-saver
depends_on:
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
ports:
- "1433:1433"
environment:
SA_PASSWORD: "YourStrong!Password"
ACCEPT_EULA: "Y"
document-frontend:
build:
context: ./DocumentFrontend
dockerfile: Dockerfile
container_name: document-frontend
ports:
- "8080:8080"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: "http://+:8080"
depends_on:
api-gateway:
condition: service_started