-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
98 lines (84 loc) · 1.95 KB
/
docker-compose.yml
File metadata and controls
98 lines (84 loc) · 1.95 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
version: '3.9'
services:
messagebroker:
image: rabbitmq:3.13.7-management-alpine
users.db:
image: postgres:17.4-alpine3.20
container_name: users.db
ports:
- "5432:5432"
catalog.db:
image: postgres:17.4-alpine3.20
container_name: catalog.db
ports:
- "5431:5432"
ordering.db:
image: postgres:17.4-alpine3.20
container_name: ordering.db
ports:
- "5430:5432"
basket.db:
image: postgres:17.4-alpine3.20
container_name: basket.db
ports:
- "5429:5432"
distributed.cache:
image: redis:7.4-alpine
users.api:
image: users.api
container_name: users.api
build:
context: .
dockerfile: Server/src/Services/Users/Users.API/Dockerfile
ports:
- "8081:8080"
users.smtp:
image: changemakerstudiosus/papercut-smtp:7.0.0-rc1
ports:
- "25:25"
- "2525:80"
catalog.api:
image: catalog.api
container_name: catalog.api
build:
context: .
dockerfile: Server/src/Services/Catalog/Catalog.API/Dockerfile
ports:
- "7080:7080"
ordering.api:
image: ordering.api
container_name: ordering.api
build:
context: .
dockerfile: Server/src/Services/Ordering/Ordering.API/Dockerfile
ports:
- "6080:6080"
basket.api:
image: basket.api
container_name: basket.api
build:
context: .
dockerfile: Server/src/Services/Basket/Basket.API/Dockerfile
ports:
- "5080:5080"
yarpgateway:
image: yarpgateway
container_name: yarpgateway
build:
context: .
dockerfile: Server/src/APIGateways/YarpGateway/Dockerfile
ports:
- "9080:9080"
volumes:
users_data:
name: users_data
catalog_data:
name: catalog_data
ordering_data:
name: ordering_data
basket_data:
name: basket_data
message_broker_data:
name: message_broker_data
message_broker_log:
name: message_broker_log