-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (65 loc) · 1.44 KB
/
Copy pathdocker-compose.yml
File metadata and controls
70 lines (65 loc) · 1.44 KB
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
services:
server:
build:
context: ./server
dockerfile: Dockerfile
container_name: healthNexaServer
restart: unless-stopped
ports:
- "5000:5000"
depends_on:
- redis
- mongo
env_file:
- .env.docker
volumes:
- ./server:/server
- /server/node_modules
client:
build:
context: ./client
dockerfile: Dockerfile
container_name: healthNexaClient
restart: unless-stopped
ports:
- "3000:3000"
depends_on:
- server
environment:
- CHOKIDAR_USEPOLLING=true
- WATCHPACK_POLLING=true
- NODE_ENV=development
volumes:
- ./client:/client
- /client/node_modules
mongo:
image: mongo:7
container_name: healthNexa_mongo
restart: unless-stopped
ports:
- "27018:27017"
volumes:
- healthNexa_mongo_data:/data/db
redis:
image: redis:7-alpine
container_name: healthNexa_redis
restart: unless-stopped
ports:
- "6380:6379"
command: ["redis-server", "--appendonly", "yes"]
volumes:
- healthNexa_redis_data:/data
redisinsight:
image: redis/redisinsight:latest
container_name: healthNexa_redisinsight
restart: unless-stopped
ports:
- "5540:5540"
depends_on:
- redis
volumes:
- healthNexa_redisinsight_data:/data
volumes:
healthNexa_mongo_data:
healthNexa_redis_data:
healthNexa_redisinsight_data: