@@ -4,57 +4,37 @@ services:
4
4
iridiumd1 :
5
5
image : danielclasen/iridium-core
6
6
entrypoint : /iridium/iridiumd
7
- command : ["--testnet", "--hide-my-port", "--data-dir", "/data", "--rpc-bind-ip", "0.0.0.0", "--add-exclusive-node", "iridiumd2:12007", "--add-exclusive-node", "iridiumd3:12007" ]
7
+ command : ["--testnet", "--hide-my-port", "--data-dir", "/data", "--rpc-bind-ip", "0.0.0.0"]
8
8
volumes :
9
9
- ./src/test/resources/iridium/daemon1:/data
10
10
11
11
12
- iridiumd2 :
13
- image : danielclasen/iridium-core
14
- entrypoint : /iridium/iridiumd
15
- command : ["--testnet", "--hide-my-port", "--data-dir", "/data", "--rpc-bind-ip", "0.0.0.0", "--add-exclusive-node", "iridiumd1:12007", "--add-exclusive-node", "iridiumd3:12007"]
16
- links :
17
- - iridiumd1
18
- - iridiumd3
19
- volumes :
20
- - ./src/test/resources/iridium/daemon2:/data
21
-
22
- iridiumd3 :
23
- image : danielclasen/iridium-core
24
- entrypoint : /iridium/iridiumd
25
- command : ["--testnet", "--hide-my-port", "--data-dir", "/data", "--rpc-bind-ip", "0.0.0.0", "--add-exclusive-node", "iridiumd1:12007", "--add-exclusive-node", "iridiumd2:12007"]
26
- links :
27
- - iridiumd1
28
- volumes :
29
- - ./src/test/resources/iridium/daemon3:/data
30
-
31
12
walletd-gen1 :
32
13
image : danielclasen/iridium-walletd-gen
33
- command : ["--testnet", "--data-dir", "/data", "-w", "/data/wallet", "-p", "password", "-g", "--daemon-address", "iridiumd2 ",]
14
+ command : ["--testnet", "--data-dir", "/data", "-w", "/data/wallet", "-p", "password", "-g", "--daemon-address", "iridiumd1 ",]
34
15
volumes :
35
16
- ./src/test/resources/iridium/wallet1:/data
36
17
links :
37
- - iridiumd2
18
+ - iridiumd1
38
19
39
20
walletd1 :
40
21
image : danielclasen/iridium-core
41
22
entrypoint : /iridium/iridium_walletd
42
- command : ["--testnet", "--data-dir", "/data", "-w", "/data/wallet", "-p", "password", "--daemon-address", "iridiumd2 ", "--log-level", "2"]
23
+ command : ["--testnet", "--data-dir", "/data", "-w", "/data/wallet", "-p", "password", "--daemon-address", "iridiumd1 ", "--log-level", "2"]
43
24
restart : on-failure
44
25
volumes :
45
- - /dev/random:/dev/random
46
- - /dev/urandom:/dev/urandom
47
26
- ./src/test/resources/iridium/wallet1:/data
48
27
links :
49
28
- walletd-gen1
50
- - iridiumd2
29
+ - iridiumd1
51
30
ports :
52
31
- 14008:14007
53
32
54
33
55
34
miner1 :
56
35
image : danielclasen/iridium-testminer
57
- command : ["--daemon-host", "iridiumd2", "--threads", "1", "--log-level", "2"]
36
+ command : ["--daemon-host", "iridiumd1", "--threads", "1", "--log-level", "2"]
37
+ restart : on-failure
58
38
links :
59
39
- walletd1
60
40
volumes :
@@ -63,10 +43,11 @@ services:
63
43
miner2 :
64
44
image : danielclasen/iridium-testminer
65
45
command : ["--daemon-host", "iridiumd1", "--threads", "1", "--log-level", "2"]
46
+ restart : on-failure
66
47
links :
67
- - walletd2
48
+ - walletd1
68
49
volumes :
69
- - ./src/test/resources/iridium/wallet2 :/data
50
+ - ./src/test/resources/iridium/wallet1 :/data
70
51
71
52
72
53
walletd-gen2 :
0 commit comments