-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (48 loc) · 922 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
version: "3.2"
services:
node1:
build:
context: .
dockerfile: dockerfile-nodejs1
image: nodejs1:latest
container_name: node1
ports:
- 3001:3001
node2:
build:
context: .
dockerfile: dockerfile-nodejs2
image: nodejs2:latest
container_name: node2
ports:
- 3002:3002
node3:
build:
context: .
dockerfile: dockerfile-nodejs3
image: nodejs3:latest
container_name: node3
ports:
- 3003:3003
node4:
build:
context: .
dockerfile: dockerfile-nodejs4-customized
image: nodejs4:latest
container_name: node4
ports:
- 3004:3004
nginx:
build:
context: .
dockerfile: dockerfile-nginx-custom-modules
image: nginx-custom:latest
container_name: nginx
ports:
- 80:80
- 443:443
depends_on:
- "node1"
- "node2"
- "node3"
- "node4"