forked from max98hash/electrip-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
100 lines (90 loc) · 1.8 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
version: "3.1"
services:
mongodb:
container_name: mongodb
image: mongo
command: mongod --port 27017
ports:
- "27017:27017"
mongo_auth:
container_name: mongo_auth
image: mongo
command: mongod --port 27044
ports:
- "27044:27044"
mongo_trajects:
container_name: mongo_trajects
image: mongo
command: mongod --port 27055
ports:
- "27055:27055"
mongo_activities:
container_name: mongo_activities
image: mongo
command: mongod --port 27077
ports:
- "27077:27077"
client:
container_name: client
build:
context: ./client
restart: unless-stopped
ports:
- 8080:8080
volumes:
- ./client:/usr/src/app/client
cars:
container_name: cars
build:
context: ./cars
restart: unless-stopped
ports:
- 3000:3000
volumes:
- ./cars:/usr/src/app/cars
depends_on:
- mongodb
trajects:
container_name: trajects
build:
context: ./trajects
restart: unless-stopped
ports:
- 5555:5555
volumes:
- ./trajects:/usr/src/app/trajects
depends_on:
- mongo_trajects
activities:
container_name: activities
build:
context: ./activities
restart: unless-stopped
ports:
- 7777:7777
volumes:
- ./activities:/usr/src/app/activities
depends_on:
- mongo_activities
#visits:
# build:
# context: ./visits
# restart: unless-stopped
# ports:
# - 3333:3333
# volumes:
# - ./visits:/usr/src/app/visits
# depends_on:
# - mongodb
auth:
container_name: auth
build:
context: ./auth
restart: unless-stopped
ports:
- 4444:4444
volumes:
- ./auth:/usr/src/app/auth
- /usr/src/app/auth/node_modules
depends_on:
- mongo_auth