-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
54 lines (49 loc) · 1.02 KB
/
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
version: '3.0'
services:
leone:
image: rahulbaradol/leones-arc
ports:
- "8080:8080"
container_name: leone
restart: always
networks:
- mynetwork
node1:
image: rahulbaradol/leones-arc-node
environment:
LOAD_BALANCER_URL: http://leone:8080/register
SERVER_PORT: 5000
SERVER_IP: node1
ports:
- "5000:5000"
container_name: node1
restart: always
networks:
- mynetwork
node2:
image: rahulbaradol/leones-arc-node
environment:
LOAD_BALANCER_URL: http://leone:8080/register
SERVER_PORT: 5001
SERVER_IP: node2
ports:
- "5001:5001"
container_name: node2
restart: always
networks:
- mynetwork
node3:
image: rahulbaradol/leones-arc-node
environment:
LOAD_BALANCER_URL: http://leone:8080/register
SERVER_PORT: 5002
SERVER_IP: node3
ports:
- "5002:5002"
container_name: node3
restart: always
networks:
- mynetwork
networks:
mynetwork:
driver: bridge