forked from belaarany/minishop-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 908 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 908 Bytes
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
version: "3.2"
services:
rabbitmq:
image: rabbitmq:3-management
ports:
- 5672:5672
- 15672:15672
carts:
build: ./apps/carts
restart: on-failure
depends_on:
- rabbitmq
environment:
- RABBITMQ_HOST=${RABBITMQ_HOST}
- RABBITMQ_PORT=${RABBITMQ_PORT}
ports:
- 8833:3000
orders:
build: ./apps/orders
restart: on-failure
depends_on:
- rabbitmq
environment:
- RABBITMQ_HOST=${RABBITMQ_HOST}
- RABBITMQ_PORT=${RABBITMQ_PORT}
payments:
build: ./apps/payments
restart: on-failure
depends_on:
- rabbitmq
environment:
- RABBITMQ_HOST=${RABBITMQ_HOST}
- RABBITMQ_PORT=${RABBITMQ_PORT}
shippings:
build: ./apps/shippings
restart: on-failure
depends_on:
- rabbitmq
environment:
- RABBITMQ_HOST=${RABBITMQ_HOST}
- RABBITMQ_PORT=${RABBITMQ_PORT}