-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (57 loc) · 1.11 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
services:
server1:
build:
context: .
dockerfile: Dockerfile.dev # Use the development Dockerfile
volumes:
- .:/app
environment:
- NODE_ADDRESS=server1:3000
- REDIS_URL=redis://redis:6379
ports:
- "8001:3000"
depends_on:
- redis
server2:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- .:/app
environment:
- NODE_ADDRESS=server2:3000
- REDIS_URL=redis://redis:6379
ports:
- "8002:3000"
depends_on:
- redis
server3:
build:
context: .
dockerfile: Dockerfile.dev # Use the development Dockerfile
volumes:
- .:/app
environment:
- NODE_ADDRESS=server3:3000
- REDIS_URL=redis://redis:6379
ports:
- "8003:3000"
depends_on:
- redis
server4:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- .:/app
environment:
- NODE_ADDRESS=server4:3000
- REDIS_URL=redis://redis:6379
ports:
- "8004:3000"
depends_on:
- redis
redis:
image: redis:alpine
ports:
- "6379:6379"