-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
172 lines (158 loc) · 4.12 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
version: '3.4'
services:
# Customers Api & Sidecar
microdelivery.customers.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8000:80"
microdelivery.customers.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-customers-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Products Api & Sidecar
microdelivery.products.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8001:80"
microdelivery.products.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-products-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Orders Api & Sidecar
microdelivery.orders.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8002:80"
microdelivery.orders.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-orders-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Shipping Api & Sidecar
microdelivery.shipping.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8003:80"
microdelivery.shipping.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-shipping-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Notifications Api & Sidecar
microdelivery.notifications.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8004:80"
microdelivery.notifications.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-notifications-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Discount Api & Sidecar
microdelivery.discount.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "8005:80"
microdelivery.discount.api.dapr:
command: ["./daprd",
"-app-id", "microdelivery-discount-api",
"-app-port", "80",
"-resources-path", "/components",
"-config", "/configuration/configuration.yaml",
"-log-level", "debug"
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
# Other services
redis:
ports:
- 6379:6379
mongo:
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
sqlserver:
environment:
SA_PASSWORD: "admin12345!"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"
postgres:
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin12345
- POSTGRES_DB=ProductsDb
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data/
pgadmin:
environment:
- PGADMIN_DEFAULT_PASSWORD=admin12345
ports:
- "5050:80"
volumes:
- pgadmin_data:/root/.pgadmin
rabbit:
environment:
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_PASS: "guest"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
smtp4dev:
ports:
- '5000:80'
- '25:25'
- '143:143'
environment:
- ServerOptions__HostName=smtp4dev
zipkin:
ports:
- "9411:9411"
volumes:
mongo_data:
postgres_data:
pgadmin_data: