1
1
services :
2
+ demo-l1-network :
3
+ image : ghcr.io/espressosystems/geth-l1:main
4
+ command : --dev --dev.period=1
5
+ ports :
6
+ - 8545:8545
7
+ - 8546:8546
8
+ volumes :
9
+ - " ./geth-config/genesis-default.json:/genesis.json"
10
+ - " ./geth-config/test-jwt-secret.txt:/config/test-jwt-secret.txt"
11
+ networks :
12
+ timeboost :
13
+ ipv4_address : 172.20.0.11
14
+ healthcheck :
15
+ test : ["CMD", "curl", "-s", "-X", "POST", "--data", '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}', "-H", "Content-Type: application/json", "http://172.20.0.11:8545"]
16
+ interval : 5s
17
+ timeout : 3s
18
+ retries : 10
19
+ deploy-test-contract :
20
+ image : timeboost:latest
21
+ environment :
22
+ - RUST_LOG=debug
23
+ entrypoint : ["/app/deploy-contract-docker"]
24
+ depends_on :
25
+ demo-l1-network :
26
+ condition : service_healthy
27
+ networks :
28
+ - timeboost
2
29
node0 :
3
30
image : timeboost:latest
4
31
command :
@@ -12,18 +39,17 @@ services:
12
39
ipv4_address : 172.20.0.2
13
40
environment :
14
41
- RUST_LOG=timeboost=info,sailfish=info,cliquenet=info
15
- - TIMEBOOST_SAILFISH_PORT=8000
16
- - TIMEBOOST_DECRYPT_PORT=8001
17
- - TIMEBOOST_CERTIFIER_PORT=8002
18
- - TIMEBOOST_RPC_PORT=8800
19
- - TIMEBOOST_METRICS_PORT=9000
20
42
ports :
21
43
- " 8000:8000"
22
44
- " 8030:8001"
23
45
- " 8060:8002"
46
+ - " 8080:8003"
47
+ - " 8100:8004"
24
48
- " 8800:8800"
25
49
- " 9000:9000"
26
50
depends_on :
51
+ deploy-test-contract :
52
+ condition : service_completed_successfully
27
53
nitro-dev :
28
54
condition : service_healthy
29
55
node1 :
@@ -39,18 +65,17 @@ services:
39
65
ipv4_address : 172.20.0.3
40
66
environment :
41
67
- RUST_LOG=timeboost=info,sailfish=info,cliquenet=info
42
- - TIMEBOOST_SAILFISH_PORT=8000
43
- - TIMEBOOST_DECRYPT_PORT=8001
44
- - TIMEBOOST_CERTIFIER_PORT=8002
45
- - TIMEBOOST_RPC_PORT=8800
46
- - TIMEBOOST_METRICS_PORT=9000
47
68
ports :
48
69
- " 8001:8000"
49
70
- " 8031:8001"
50
71
- " 8061:8002"
72
+ - " 8081:8003"
73
+ - " 8101:8004"
51
74
- " 8801:8800"
52
75
- " 9001:9000"
53
76
depends_on :
77
+ deploy-test-contract :
78
+ condition : service_completed_successfully
54
79
nitro-dev :
55
80
condition : service_healthy
56
81
node2 :
@@ -66,18 +91,17 @@ services:
66
91
ipv4_address : 172.20.0.4
67
92
environment :
68
93
- RUST_LOG=timeboost=info,sailfish=info,cliquenet=info
69
- - TIMEBOOST_SAILFISH_PORT=8000
70
- - TIMEBOOST_DECRYPT_PORT=8001
71
- - TIMEBOOST_CERTIFIER_PORT=8002
72
- - TIMEBOOST_RPC_PORT=8800
73
- - TIMEBOOST_METRICS_PORT=9000
74
94
ports :
75
95
- " 8002:8000"
76
96
- " 8032:8001"
77
97
- " 8062:8002"
98
+ - " 8082:8003"
99
+ - " 8102:8004"
78
100
- " 8802:8800"
79
101
- " 9002:9000"
80
102
depends_on :
103
+ deploy-test-contract :
104
+ condition : service_completed_successfully
81
105
nitro-dev :
82
106
condition : service_healthy
83
107
node3 :
@@ -93,18 +117,17 @@ services:
93
117
ipv4_address : 172.20.0.5
94
118
environment :
95
119
- RUST_LOG=timeboost=info,sailfish=info,cliquenet=info
96
- - TIMEBOOST_SAILFISH_PORT=8000
97
- - TIMEBOOST_DECRYPT_PORT=8001
98
- - TIMEBOOST_CERTIFIER_PORT=8002
99
- - TIMEBOOST_RPC_PORT=8800
100
- - TIMEBOOST_METRICS_PORT=9000
101
120
ports :
102
121
- " 8003:8000"
103
122
- " 8033:8001"
104
123
- " 8063:8002"
124
+ - " 8083:8003"
125
+ - " 8103:8004"
105
126
- " 8803:8800"
106
127
- " 9003:9000"
107
128
depends_on :
129
+ deploy-test-contract :
130
+ condition : service_completed_successfully
108
131
nitro-dev :
109
132
condition : service_healthy
110
133
node4 :
@@ -120,18 +143,17 @@ services:
120
143
ipv4_address : 172.20.0.6
121
144
environment :
122
145
- RUST_LOG=timeboost=info,sailfish=info,cliquenet=info
123
- - TIMEBOOST_SAILFISH_PORT=8000
124
- - TIMEBOOST_DECRYPT_PORT=8001
125
- - TIMEBOOST_CERTIFIER_PORT=8002
126
- - TIMEBOOST_RPC_PORT=8800
127
- - TIMEBOOST_METRICS_PORT=9000
128
146
ports :
129
147
- " 8004:8000"
130
148
- " 8034:8001"
131
149
- " 8064:8002"
150
+ - " 8084:8003"
151
+ - " 8104:8004"
132
152
- " 8804:8800"
133
153
- " 9004:9000"
134
154
depends_on :
155
+ deploy-test-contract :
156
+ condition : service_completed_successfully
135
157
nitro-dev :
136
158
condition : service_healthy
137
159
nitro-dev :
@@ -148,15 +170,14 @@ services:
148
170
timeout : 3s
149
171
retries : 10
150
172
yapper :
151
- image : yapper :latest
173
+ image : timeboost :latest
152
174
command :
153
175
[
154
176
" /app/yapper" ,
155
- " --tps" ,
156
- " 1" ,
157
- " --keyset-file" ,
158
- " committee.json" ,
177
+ " --keyset-file" , "committee.toml",
159
178
]
179
+ environment :
180
+ - RUST_LOG=info
160
181
networks :
161
182
timeboost :
162
183
ipv4_address : 172.20.0.13
0 commit comments