@@ -2,6 +2,7 @@ services:
22 espresso :
33 image : ${CARTESI_SDK_IMAGE}
44 command : ["espresso-dev-node"]
5+ init : true
56 deploy :
67 resources :
78 limits :
@@ -14,25 +15,21 @@ services:
1415 condition : service_healthy
1516 environment :
1617 ESPRESSO_SEQUENCER_L1_PROVIDER : ${CARTESI_BLOCKCHAIN_HTTP_ENDPOINT:-http://anvil:8545}
17- ESPRESSO_SEQUENCER_API_PORT : 8770
18- ESPRESSO_BUILDER_PORT : 8771
19- ESPRESSO_PROVER_PORT : 8772
18+ ESPRESSO_SEQUENCER_API_PORT : 24000
19+ ESPRESSO_BUILDER_PORT : 23000
2020 ESPRESSO_DEV_NODE_PORT : 20000
21- ESPRESSO_SEQUENCER_POSTGRES_HOST : database
22- ESPRESSO_SEQUENCER_POSTGRES_PORT : 5432
23- ESPRESSO_SEQUENCER_POSTGRES_USER : postgres
24- ESPRESSO_SEQUENCER_POSTGRES_PASSWORD : password
25- ESPRESSO_SEQUENCER_POSTGRES_DATABASE : espresso
2621 ESPRESSO_SEQUENCER_ETH_MNEMONIC : ${CARTESI_AUTH_MNEMONIC:-test test test test test test test test test test test junk}
27- ESPRESSO_SEQUENCER_L1_POLLING_INTERVAL : " 1s"
28- ESPRESSO_STATE_PROVER_UPDATE_INTERVAL : " 1s"
22+ ESPRESSO_SEQUENCER_L1_POLLING_INTERVAL : " 200s"
23+ ESPRESSO_STATE_PROVER_UPDATE_INTERVAL : " 10s"
24+ ESPRESSO_SEQUENCER_DATABASE_MAX_CONNECTIONS : 25
25+ ESPRESSO_SEQUENCER_STORAGE_PATH : /data/espresso
2926 healthcheck :
3027 test :
3128 [
3229 " CMD" ,
3330 " curl" ,
3431 " -fsS" ,
35- " http://127.0.0.1:8770 /status/block-height" ,
32+ " http://127.0.0.1:24000 /status/block-height" ,
3633 ]
3734 start_period : 10s
3835 start_interval : 200ms
@@ -53,11 +50,9 @@ services:
5350 espresso :
5451 condition : service_healthy
5552 environment :
56- CARTESI_POSTGRES_ENDPOINT : postgres://postgres:password@database:5432/rollupsdb?sslmode=disable
53+ CARTESI_DATABASE_CONNECTION : postgres://postgres:password@database:5432/rollupsdb?sslmode=disable
5754 ESPRESSO_SERVICE_ENDPOINT : " :8081"
58- ESPRESSO_BASE_URL : http://espresso:8770
59- ESPRESSO_NAMESPACE : 51025
60- ESPRESSO_STARTING_BLOCK : 101
55+ ESPRESSO_BASE_URL : http://espresso:24000
6156
6257 proxy :
6358 volumes :
0 commit comments