forked from SaloniSS/Sense-Your-Own-Adventure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (51 loc) · 913 Bytes
/
docker-compose.yaml
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
version: "3"
services:
game:
image: node
restart: always
user: node
volumes:
- ./game:/home/node/app
working_dir: /home/node/app
environment:
NODE_ENV: development
ports:
- 3000:3000
command: npm start
mongo:
image: mongo
restart: always
volumes:
- ./data:/data/db
ports:
- 27017:27017
networks:
- webappnetwork
mongo-express:
image: mongo-express
restart: always
depends_on:
- mongo
ports:
- 8081:8081
networks:
- webappnetwork
parser:
image: node
restart: always
user: node
depends_on:
- mongo
volumes:
- ./parser:/home/node/app
working_dir: /home/node/app
environment:
NODE_ENV: development
ports:
- 3001:3000
networks:
- webappnetwork
command: npm start
networks:
webappnetwork:
driver: bridge