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+ healthcheck :
14+ test : ["CMD", "curl", "-s", "-X", "POST", "--data", '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}', "-H", "Content-Type: application/json", "http://localhost:8545"]
15+ interval : 5s
16+ timeout : 3s
17+ retries : 10
18+ espresso-dev-node :
19+ pid : host
20+ image : ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:main
21+ ports :
22+ - " 41000:41000"
23+ - " 41003:41003"
24+ - " 20000:20000"
25+ environment :
26+ - ESPRESSO_BUILDER_PORT=41003
27+ - ESPRESSO_DEPLOYER_ACCOUNT_INDEX=5
28+ - ESPRESSO_DEV_NODE_PORT=20000
29+ - ESPRESSO_SEQUENCER_API_PORT=41000
30+ - ESPRESSO_SEQUENCER_ETH_MNEMONIC=indoor dish desk flag debris potato excuse depart ticket judge file exit
31+ - ESPRESSO_SEQUENCER_L1_PROVIDER=http://demo-l1-network:8545
32+ - ESPRESSO_SEQUENCER_DATABASE_MAX_CONNECTIONS=25
33+ - ESPRESSO_DEV_NODE_EPOCH_HEIGHT=1000000
34+ - ESPRESSO_DEV_NODE_MAX_BLOCK_SIZE=10485760
35+ - ESPRESSO_SEQUENCER_STORAGE_PATH=/data/espresso
36+ - RUST_LOG=WARN
37+ - RUST_LOG_FORMAT
38+ - ESPRESSO_DEV_NODE_VERSION=0.4
39+ volumes :
40+ - espresso_storage:/data/espresso
41+ depends_on :
42+ demo-l1-network :
43+ condition : service_healthy
44+ networks :
45+ - timeboost
46+ rollup-creator :
47+ # pid: host
48+ # build:
49+ # context: rollupcreator/
50+ # args:
51+ # NITRO_CONTRACTS_BRANCH: v3.1.0
52+ image : ghcr.io/espressosystems/timeboost/rollup-creator:main
53+ volumes :
54+ - " config:/config"
55+ - " ./nitro-config:/nitro-config"
56+ environment :
57+ PARENT_CHAIN_RPC : " http://demo-l1-network:8545"
58+ DEPLOYER_PRIVKEY : 0x4f3edf983ac636a65a842ce7c78d9aa706d3b113b37f60c1b6d9d1f0a5b2b5ff
59+ PARENT_CHAIN_ID : 1337
60+ CHILD_CHAIN_NAME : " arb-dev-test"
61+ MAX_DATA_SIZE : 117964
62+ OWNER_ADDRESS : 0x3f1Eae7D46d88F08fc2F8ed27FCb2AB183EB2d0E
63+ WASM_MODULE_ROOT : 0xdb698a2576298f25448bc092e52cf13b1e24141c997135d70f217d674bbeb69a
64+ SEQUENCER_ADDRESS : 0x2F1eAe7Dd46D88f08fC2f8ED27Fcb2Ab183eb2d0
65+ AUTHORIZE_VALIDATORS : 10
66+ CHILD_CHAIN_CONFIG_PATH : " /nitro-config/l2_chain_config.json"
67+ CHAIN_DEPLOYMENT_INFO : " /config/deployment.json"
68+ CHILD_CHAIN_INFO : " /config/deployed_chain_info.json"
69+ command : ["create-rollup-testnode"]
70+ networks :
71+ - timeboost
72+ depends_on :
73+ demo-l1-network :
74+ condition : service_healthy
75+ nitro0 :
76+ pid : host # allow debugging
77+ image : ghcr.io/espressosystems/nitro-espresso-integration/nitro-node:feat-timeboost-integration-3-6-7
78+ entrypoint : /usr/local/bin/nitro
79+ ports :
80+ - " 127.0.0.1:8547:8547"
81+ - " 127.0.0.1:8548:8548"
82+ - " 127.0.0.1:9642:9642"
83+ - " 127.0.0.1:55000:55000"
84+ volumes :
85+ - " nitro0:/home/user/.arbitrum/local/nitro"
86+ - " l1keystore:/home/user/l1keystore"
87+ - " config:/config"
88+ - " ./nitro-config:/nitro-config"
89+ - " tokenbridge-data:/tokenbridge-data"
90+ command :
91+ - --conf.file=/nitro-config/sequencer_config.json
92+ - --node.feed.output.enable
93+ - --node.feed.output.port=9642
94+ - --http.api=net,web3,eth,txpool,debug,timeboost,auctioneer
95+ - --graphql.enable
96+ - --graphql.vhosts=*
97+ - --graphql.corsdomain=*
98+ - --node.decentralized-timeboost-sequencer.block-retry-duration=0s
99+ - --node.decentralized-timeboost-sequencer.decentralized-timeboost-bridge-config.internal-timeboost-grpc-url=host.docker.internal:8003
100+ networks :
101+ - timeboost
102+ depends_on :
103+ rollup-creator :
104+ condition : service_completed_successfully
105+ healthcheck :
106+ test : ["CMD", "curl", "-s", "-X", "POST", "--data", '{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}', "-H", "Content-Type: application/json", "http://localhost:8547"]
107+ interval : 5s
108+ timeout : 3s
109+ retries : 12
110+ nitro1 :
111+ pid : host # allow debugging
112+ image : ghcr.io/espressosystems/nitro-espresso-integration/nitro-node:feat-timeboost-integration-3-6-7
113+ entrypoint : /usr/local/bin/nitro
114+ ports :
115+ - " 127.0.0.1:8647:8547"
116+ - " 127.0.0.1:8648:8548"
117+ - " 127.0.0.1:9742:9642"
118+ - " 127.0.0.1:55010:55000"
119+ volumes :
120+ - " nitro1:/home/user/.arbitrum/local/nitro"
121+ - " l1keystore:/home/user/l1keystore"
122+ - " config:/config"
123+ - " ./nitro-config:/nitro-config"
124+ - " tokenbridge-data:/tokenbridge-data"
125+ command :
126+ - --conf.file=/nitro-config/sequencer_config.json
127+ - --http.api=net,web3,eth,txpool,debug,timeboost,auctioneer
128+ - --node.decentralized-timeboost-sequencer.block-retry-duration=0s
129+ - --node.decentralized-timeboost-sequencer.decentralized-timeboost-bridge-config.internal-timeboost-grpc-url=host.docker.internal:8013
130+ networks :
131+ - timeboost
132+ depends_on :
133+ rollup-creator :
134+ condition : service_completed_successfully
135+ healthcheck :
136+ test : ["CMD", "curl", "-s", "-X", "POST", "--data", '{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}', "-H", "Content-Type: application/json", "http://localhost:8547"]
137+ interval : 5s
138+ timeout : 3s
139+ retries : 12
140+
141+ networks :
142+ timeboost :
143+ driver : bridge
144+
145+ volumes :
146+ config :
147+ l1keystore :
148+ espresso_storage :
149+ nitro0 :
150+ nitro1 :
151+ tokenbridge-data:
0 commit comments