File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ type ProcessorName =
1717 | 'base-processor'
1818 | 'oethb-processor'
1919 | 'sonic-processor'
20+ | 'os-processor'
2021 | 'plume-processor'
2122
2223function parseArgs ( ) {
@@ -58,6 +59,7 @@ function getRpcEndpointEnvName(processorName: ProcessorName): string {
5859 case 'arbitrum-processor' :
5960 return process . env [ 'RPC_ARBITRUM_ENV' ] !
6061 case 'sonic-processor' :
62+ case 'os-processor' :
6163 return process . env [ 'RPC_SONIC_ENV' ] !
6264 case 'plume-processor' :
6365 return process . env [ 'RPC_PLUME_ENV' ] !
@@ -281,6 +283,7 @@ async function main() {
281283 if ( ! continueRun || startedCompose ) {
282284 if ( ! startedCompose ) {
283285 console . log ( `Starting dockerized Postgres at port ${ DB_PORT } (project ${ composeProject } )...` )
286+ await runCmd ( `docker-compose -p ${ composeProject } down` , { env : { ...baseEnv } } )
284287 await runCmd ( `docker-compose -p ${ composeProject } up -d` , { env : { ...baseEnv } } )
285288 startedCompose = true
286289 }
You can’t perform that action at this time.
0 commit comments