-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
103 lines (102 loc) · 2.85 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '2'
services:
multichain-master:
build: ./multichain-cluster/master
image: multichain-master
container_name: multichain-master
stdin_open: true
tty: true
expose:
- 7557
- 8002
ports:
- "8002:8002"
environment:
CHAINNAME: MyChain
NETWORK_PORT: 7557
RPC_PORT: 8002
RPC_USER: multichainrpc
RPC_PASSWORD: this-is-insecure-change-it
RPC_ALLOW_IP: 0.0.0.0/0.0.0.0
PARAM_TARGET_BLOCK_SIZE: target-block-time|30
PARAM_ANYONE_CAN_CONNECT: anyone-can-connect|true
PARAM_ANYONE_CAN_MINE: anyone-can-mine|true
multichain-slave:
build: ./multichain-cluster/node
image: multichain-slave
container_name: multichain-slave
stdin_open: true
tty: true
expose:
- 7557
- 8002
environment:
CHAINNAME: MyChain
NETWORK_PORT: 7557
RPC_PORT: 8002
RPC_USER: multichainrpc
RPC_PASSWORD: this-is-insecure-change-it
RPC_ALLOW_IP: 0.0.0.0/0.0.0.0
MASTER_NODE: multichain-master
links:
- multichain-master
depends_on:
- multichain-master
multichain-explorer:
build: ./multichain-cluster/explorer
image: multichain-explorer
container_name: multichain-explorer
stdin_open: true
tty: true
expose:
- 2750
- 7557
- 8002
ports:
- "2750:2750"
environment:
CHAINNAME: MyChain
NETWORK_PORT: 7557
RPC_PORT: 8002
RPC_USER: multichainrpc
RPC_PASSWORD: this-is-insecure-change-it
RPC_ALLOW_IP: 0.0.0.0/0.0.0.0
MASTER_NODE: multichain-master
links:
- multichain-master
depends_on:
- multichain-master
multichain-server:
build: ./multichain-server
image: multichain-server
container_name: multichain-server
stdin_open: true
tty: true
expose:
- 8080
ports:
- "8080:8080"
environment:
CHAINNAME: MyChain
RPC_PORT: 8002
RPC_USER: multichainrpc
RPC_PASSWORD: this-is-insecure-change-it
MASTER_NODE: multichain-master
links:
- multichain-master
depends_on:
- multichain-master
multichain-app:
build: ./multichain-app
image: multichain-app
container_name: multichain-app
stdin_open: true
tty: true
expose:
- 80
ports:
- "80:80"
links:
- multichain-server
depends_on:
- multichain-server