File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,16 @@ export const squidProcessorService = (options: ServiceOptions): Service => {
7777 const databaseHost = options . databaseHost ?? "database" ;
7878 const databasePort = options . databasePort ?? 5432 ;
7979 const chain = anvil ;
80- const environment : Record < string , string > = {
80+ const environment : Record < string , string | number > = {
8181 DB_HOST : databaseHost ,
8282 DB_NAME : "explorer" ,
8383 DB_PASS : databasePassword ,
8484 DB_PORT : databasePort . toString ( ) ,
8585 CHAIN_IDS : chain . id . toString ( ) ,
8686 } ;
8787 environment [ `RPC_URL_${ chain . id } ` ] = `http://anvil:8545` ;
88- environment [ `BLOCK_CONFIRMATIONS_${ chain . id } ` ] = "0" ;
89- environment [ `GENESIS_BLOCK_${ chain . id } ` ] = "1" ;
88+ environment [ `BLOCK_CONFIRMATIONS_${ chain . id } ` ] = 0 ;
89+ environment [ `GENESIS_BLOCK_${ chain . id } ` ] = 1 ;
9090
9191 return {
9292 image : `cartesi/rollups-explorer-api:${ imageTag } ` ,
@@ -109,8 +109,9 @@ export const explorerService = (options: ServiceOptions): Service => {
109109 return {
110110 image : `cartesi/rollups-explorer:${ imageTag } ` ,
111111 environment : {
112- NODE_RPC_URL : nodeRpcUrl ,
112+ CHAIN_ID : 31337 ,
113113 EXPLORER_API_URL : explorerApiUrl ,
114+ NODE_RPC_URL : nodeRpcUrl ,
114115 } ,
115116 expose : [ "3000" ] ,
116117 depends_on : {
You can’t perform that action at this time.
0 commit comments