-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (67 loc) · 1.33 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
version: "3.3"
services:
gateway:
build:
context: .
dockerfile: ./gateway/Dockerfile
ports:
- "3035:3035"
restart: on-failure
payment_provider:
build:
context: .
dockerfile: ./payment_provider/Dockerfile
ports:
- "5055:5055"
restart: on-failure
auth:
build:
context: .
dockerfile: ./auth/Dockerfile
restart: on-failure
products:
build:
context: .
dockerfile: ./products/Dockerfile
restart: on-failure
orders:
build:
context: .
dockerfile: ./orders/Dockerfile
restart: on-failure
cart:
build:
context: .
dockerfile: ./cart/Dockerfile
restart: on-failure
client:
build:
context: .
dockerfile: ./client/Dockerfile
ports:
- "3000:80"
hook:
build:
context: .
dockerfile: ./hook/Dockerfile
ports:
- "4035:4035"
restart: on-failure
redis:
image: redis:alpine3.13
database:
image: mongo:4.2.16
restart: always
volumes:
- "database_data:/data/db"
mongo-express:
image: mongo-express
restart: always
ports:
- "8081:8081"
environment:
- "ME_CONFIG_MONGODB_URL=mongodb://database:27017/"
- "ME_CONFIG_MONGODB_ADMINUSERNAME="
- "ME_CONFIG_MONGODB_ADMINPASSWORD="
volumes:
database_data: