-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
81 lines (74 loc) · 1.37 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
version: "3"
services:
react-app:
image: react-app
stdin_open: true
ports:
- "3000:3000"
networks:
- mern-app
# network_mode: host
volumes:
- ./Client/:/usr/src/app
- /usr/src/app/node_modules
depends_on:
- 'node-app'
node-app:
image: node-app
env_file: ./Auth/.env
ports:
- "8000:8000"
networks:
- mern-app
volumes:
- ./Auth/:/usr/src/app
- /usr/src/app/node_modules
# network_mode: host
depends_on:
- 'mongo'
- 'cache-app'
cache-app:
image: cache-app
restart: always
ports:
- 8080:8080
depends_on:
- 'mongo'
- 'ingestor-app'
# network_mode: host
volumes:
- ./cache/:/usr/src/app
networks:
- mern-app
# cache-mongodb:
# image: "mongo:4.4.3"
# restart: always
# ports:
# - 27018:27018
# networks:
# - mern-app
mongo:
image: "mongo:4.4-bionic"
ports:
- "27017:27017"
networks:
- mern-app
# network_mode: host
volumes:
- mongo-data:/data/db
ingestor-app:
image: ingestor-app
restart: always
ports:
- 5678:5678
hostname: data-ingestor
container_name: data-ingestor
# network_mode: host
networks:
- mern-app
networks:
mern-app:
driver: bridge
volumes:
mongo-data:
driver: local