-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (52 loc) · 967 Bytes
/
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
version: "3.8"
services:
client:
image: collabkg-client
build: ./client/
stdin_open: true
ports:
- "3020:3000"
networks:
- collabkg-app
volumes:
- ./client/:/usr/src/app
- /usr/src/app/node_modules
depends_on:
- server
server:
image: collabkg-server
build: ./server/
stdin_open: true
ports:
- "3010:3010"
networks:
- collabkg-app
volumes:
- ./server/:/usr/src/app
- /usr/src/app/node_modules
depends_on:
- mongo
mongo:
image: mongo:4.4.8
ports:
- "27018:27017"
networks:
- collabkg-app
volumes:
- mongo-data:/data/db
depends_on:
- server_cluster
server_cluster:
image: collabkg-server-cluster
build: ./server_cluster
stdin_open: true
ports:
- "8000:8000"
networks:
- collabkg-app
networks:
collabkg-app:
driver: bridge
volumes:
mongo-data:
driver: local