-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 850 Bytes
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
version: '3.7'
services:
nodejs1:
restart: always
build:
context: ./nodejs
dockerfile: Dockerfile
volumes:
- './nodejs/src:/nodejs-container'
nodejs2:
restart: always
build:
context: ./nodejs
dockerfile: Dockerfile
volumes:
- './nodejs/src:/nodejs-container'
nodejs3:
restart: always
build:
context: ./nodejs
dockerfile: Dockerfile
volumes:
- './nodejs/src:/nodejs-container'
nodejs4:
restart: always
build:
context: ./nodejs
dockerfile: Dockerfile
volumes:
- './nodejs/src:/nodejs-container'
loadbalancer:
build: ./loadbalancer
depends_on:
- nodejs1
- nodejs2
- nodejs3
- nodejs4
ports:
- '18089:8080'