-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
86 lines (79 loc) · 1.73 KB
/
docker-compose.override.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.4'
services:
order.api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
ports:
- "7000:80"
- "7001:443"
networks:
- net_backend
restart: no
depends_on:
- s_sqlserver
- s_rabbitmq
mem_limit: 1g
external_links:
- s_rabbitmq
stock.api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
ports:
- "7004:80"
- "7005:443"
networks:
- net_backend
restart: no
depends_on:
- s_sqlserver
- s_rabbitmq
mem_limit: 1g
external_links:
- s_rabbitmq
payment.api:
environment:
- ASPNETCORE_ENVIRONMENT=Production
ports:
- "7002:80"
- "7003:443"
depends_on:
- s_rabbitmq
networks:
- net_backend
restart: no
mem_limit: 1g
external_links:
- s_rabbitmq
s_sqlserver:
user: root
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: Test123!_
ports:
- "1433:1433"
volumes:
- sqlserver_data:/var/opt/mssql/data
- sqlserver_log:/var/opt/mssql/log
networks:
- net_backend
mem_limit: 2g
s_rabbitmq:
ports:
- 5672:5672
- 15672:15672
volumes:
- rabbitmq:/var/lib/rabbitmq
networks:
- net_backend
restart: on-failure
environment:
RABBITMQ_HOST: localhost
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
networks:
net_backend:
driver: bridge
volumes:
rabbitmq:
sqlserver_data:
sqlserver_log: