-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.4nodes.yml
73 lines (70 loc) · 1.46 KB
/
docker-compose.4nodes.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
62
63
64
65
66
67
68
69
70
71
72
73
version: '2.4'
services:
node0:
build:
network: host
context: ./
args:
CONFIG: src/Lachain.Console/config0.json
WALLET: src/Lachain.Console/wallet0.json
dockerfile: Dockerfile
stdin_open: true
environment:
- LOG_LEVEL=Trace
tty: true
# ports:
# - "5050:5050"
# - "7071:7070"
network_mode: "host"
restart: always
node1:
build:
network: host
context: ./
args:
CONFIG: src/Lachain.Console/config1.json
WALLET: src/Lachain.Console/wallet1.json
dockerfile: Dockerfile
stdin_open: true
environment:
- LOG_LEVEL=Debug
tty: true
# ports:
# - "5051:5051"
# - "7072:7070"
network_mode: "host"
restart: always
node2:
build:
context: ./
network: host
args:
CONFIG: src/Lachain.Console/config2.json
WALLET: src/Lachain.Console/wallet2.json
dockerfile: Dockerfile
stdin_open: true
environment:
- LOG_LEVEL=Debug
tty: true
# ports:
# - "5052:5052"
# - "7073:7070"
network_mode: "host"
restart: always
node3:
build:
context: ./
network: host
args:
CONFIG: src/Lachain.Console/config3.json
WALLET: src/Lachain.Console/wallet3.json
dockerfile: Dockerfile
stdin_open: true
environment:
- LOG_LEVEL=Debug
tty: true
# ports:
# - "5053:5053"
# - "7074:7070"
network_mode: "host"
restart: always