-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (60 loc) · 1.69 KB
/
docker-compose.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
version: "3.7"
services:
inventory:
container_name: inventory
build: ./backend/inventory
command: uvicorn main:app --reload --host 0.0.0.0 --port 8000
volumes:
- .:/home/riyad/Documents/FastApi-WareHouse-Microservices/inventory
ports:
- 8001:8000
#! http://0.0.0.0:8001/
payment:
container_name: payment
build: ./backend/payment
command: uvicorn main:app --reload --host 0.0.0.0 --port 8000
volumes:
- .:/home/riyad/Documents/FastApi-WareHouse-Microservices/payment
ports:
- 8002:8000
#! http://0.0.0.0:8002/
users:
container_name: users
build: ./backend/users
command: uvicorn main:app --reload --host 0.0.0.0 --port 8000
volumes:
- .:/home/riyad/Documents/FastApi-WareHouse-Microservices/users
ports:
- 8003:8000
#! http://0.0.0.0:8003/
send-email:
container_name: send-email
build: ./backend/send-email
command: uvicorn main:app --reload --host 0.0.0.0 --port 8000
volumes:
- .:/home/riyad/Documents/FastApi-WareHouse-Microservices/send-email
ports:
- 8004:8000
#! http://0.0.0.0:8004/
add-cart:
container_name: add-cart
build: ./backend/add-cart
command: uvicorn main:app --reload --host 0.0.0.0 --port 8000
volumes:
- .:/home/riyad/Documents/FastApi-WareHouse-Microservices/add-cart
ports:
- 8005:8000
#! http://0.0.0.0:8005/
inventory-system:
image: node:alpine
container_name: inventory-system
entrypoint: /bin/sh
ports:
- 8004:8000
working_dir: /inventory-system
volumes:
- type: bind
source: ./
target: /inventory-system
tty: true
#! http://localhost:8006/