-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
105 lines (97 loc) · 1.79 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
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
version: "3.9"
#version: "3.3"
services:
proxy:
image: envoyproxy/envoy-alpine:v1.14.1
environment:
NODE_ENV: development
loglevel: debug
ports:
- 8081:8081
- 9900:9900
networks:
- envoymesh
volumes:
- ./envoy/envoy.yaml:/etc/envoy/envoy.yaml
restart: always
frontend:
build: ./frontend
ports:
- "5000:5000"
networks:
- envoymesh
restart: always
register:
container_name: register
build: ./register
ports:
- "5001:5001"
networks:
- envoymesh
restart: always
classlist:
container_name: classlist
build: ./classlist
ports:
- "5002:5002"
networks:
- envoymesh
restart: always
cart:
container_name: cart
build: ./cart
ports:
- "5003:5003"
networks:
- envoymesh
restart: always
prof:
container_name: prof
build: ./prof
ports:
- "5004:5004"
networks:
- envoymesh
restart: always
mongodb-register:
container_name: register_db
image: mongo
ports:
- "27017:27017"
restart: always
networks:
- envoymesh
volumes:
- ./data/register/:/data/db
mongodb-classlist:
container_name: classlist_db
image: mongo
ports:
- "27018:27017"
restart: always
networks:
- envoymesh
volumes:
- ./data/classlist:/data/db
mongodb-cart:
container_name: cart_db
image: mongo
ports:
- "27019:27017"
restart: always
networks:
- envoymesh
volumes:
- ./data/cart:/data/db
mongodb-prof:
container_name: prof_db
image: mongo
ports:
- "27020:27017"
restart: always
networks:
- envoymesh
volumes:
- ./data/prof:/data/db
networks:
envoymesh: {}