Exec services in containers

allows forwarding of signals
This commit is contained in:
Roy Crihfield 2024-08-23 00:37:14 -05:00
parent 846655837f
commit 189ae577c4
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ L2_RPC="http://op-geth:8545"
ROLLUP_RPC="http://op-node:8547" ROLLUP_RPC="http://op-node:8547"
BATCHER_KEY=$(cat /l2-accounts/accounts.json | jq -r .BatcherKey) BATCHER_KEY=$(cat /l2-accounts/accounts.json | jq -r .BatcherKey)
op-batcher \ exec op-batcher \
--l2-eth-rpc=$L2_RPC \ --l2-eth-rpc=$L2_RPC \
--rollup-rpc=$ROLLUP_RPC \ --rollup-rpc=$ROLLUP_RPC \
--poll-interval=1s \ --poll-interval=1s \

View File

@ -32,7 +32,7 @@ fi
# Start op-geth # Start op-geth
jwt_file="/l2-config/l2-jwt.txt" jwt_file="/l2-config/l2-jwt.txt"
geth \ exec geth \
--datadir=$data_dir \ --datadir=$data_dir \
--http \ --http \
--http.corsdomain="*" \ --http.corsdomain="*" \

View File

@ -21,7 +21,7 @@ jwt_file=/l2-config/l2-jwt.txt
L2_AUTH="http://op-geth:8551" L2_AUTH="http://op-geth:8551"
RPC_KIND=any # this can optionally be set to a preset for common node providers like Infura, Alchemy, etc. RPC_KIND=any # this can optionally be set to a preset for common node providers like Infura, Alchemy, etc.
op-node \ exec op-node \
--l2=$L2_AUTH \ --l2=$L2_AUTH \
--l2.jwt-secret=$jwt_file \ --l2.jwt-secret=$jwt_file \
--sequencer.enabled \ --sequencer.enabled \

View File

@ -13,7 +13,7 @@ ROLLUP_RPC="http://op-node:8547"
PROPOSER_KEY=$(cat /l2-accounts/accounts.json | jq -r .ProposerKey) PROPOSER_KEY=$(cat /l2-accounts/accounts.json | jq -r .ProposerKey)
L2OO_ADDR=$(cat /l1-deployment/$DEPLOYMENT_CONTEXT-deploy.json | jq -r .L2OutputOracleProxy) L2OO_ADDR=$(cat /l1-deployment/$DEPLOYMENT_CONTEXT-deploy.json | jq -r .L2OutputOracleProxy)
op-proposer \ exec op-proposer \
--poll-interval=12s \ --poll-interval=12s \
--rpc.port=8560 \ --rpc.port=8560 \
--rollup-rpc=$ROLLUP_RPC \ --rollup-rpc=$ROLLUP_RPC \