advertise public ip

This commit is contained in:
Sebastian
2024-12-04 08:04:43 +01:00
parent 1bbfe1ee10
commit 573da345ce
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ services:
image: ghcr.io/bnb-chain/op-reth:v1.1.0 image: ghcr.io/bnb-chain/op-reth:v1.1.0
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
command: node --datadir=/data --chain=opbnb-mainnet --rollup.sequencer-http=https://opbnb-mainnet-rpc.bnbchain.org --authrpc.addr="0.0.0.0" --authrpc.port=8551 --authrpc.jwtsecret=/jwtsecret --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --http.api "debug,eth,net,trace,txpool,web3,rpc,reth" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth" --http.corsdomain '*' --rpc.max-logs-per-response 1100000 --rpc.gascap 600000000 --port 63815 --discovery.port 63815 --full command: node --datadir=/data --chain=opbnb-mainnet --rollup.sequencer-http=https://opbnb-mainnet-rpc.bnbchain.org --authrpc.addr="0.0.0.0" --authrpc.port=8551 --authrpc.jwtsecret=/jwtsecret --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --http.api "debug,eth,net,trace,txpool,web3,rpc,reth" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth" --http.corsdomain '*' --rpc.max-logs-per-response 1100000 --rpc.gascap 600000000 --port 63815 --discovery.port 63815 --full --nat extip:${IP}
volumes: volumes:
- .jwtsecret:/jwtsecret - .jwtsecret:/jwtsecret
- op-bnb-reth-fullnode:/data - op-bnb-reth-fullnode:/data
@@ -38,6 +38,7 @@ services:
OP_L2_HOST: op-bnb-reth-fullnode OP_L2_HOST: op-bnb-reth-fullnode
P2P_PRIV_KEY: ${OPBNB_NODE_PRIV_KEY} P2P_PRIV_KEY: ${OPBNB_NODE_PRIV_KEY}
NETWORK_NAME: mainnet NETWORK_NAME: mainnet
OP_NODE_P2P_ADVERTISE_IP: ${IP}
expose: expose:
- 34098 - 34098
env_file: env_file:

View File

@@ -4,7 +4,7 @@ services:
image: ghcr.io/bnb-chain/op-reth:v1.1.0 image: ghcr.io/bnb-chain/op-reth:v1.1.0
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
command: node --datadir=/data --chain=opbnb-mainnet --rollup.sequencer-http=https://opbnb-mainnet-rpc.bnbchain.org --authrpc.addr="0.0.0.0" --authrpc.port=8551 --authrpc.jwtsecret=/jwtsecret --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --http.api "debug,eth,net,trace,txpool,web3,rpc,reth" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth" --http.corsdomain '*' --rpc.max-logs-per-response 1100000 --rpc.gascap 600000000 --port 63815 --discovery.port 63815 command: node --datadir=/data --chain=opbnb-mainnet --rollup.sequencer-http=https://opbnb-mainnet-rpc.bnbchain.org --authrpc.addr="0.0.0.0" --authrpc.port=8551 --authrpc.jwtsecret=/jwtsecret --http --http.addr 0.0.0.0 --http.port 8545 --ws --ws.addr 0.0.0.0 --ws.port 8545 --ws.origins '*' --http.api "debug,eth,net,trace,txpool,web3,rpc,reth" --ws.api "debug,eth,net,trace,txpool,web3,rpc,reth" --http.corsdomain '*' --rpc.max-logs-per-response 1100000 --rpc.gascap 600000000 --port 63815 --discovery.port 63815 --nat extip:${IP}
volumes: volumes:
- .jwtsecret:/jwtsecret - .jwtsecret:/jwtsecret
- op-bnb-reth:/data - op-bnb-reth:/data
@@ -38,6 +38,7 @@ services:
OP_L2_HOST: op-bnb-reth OP_L2_HOST: op-bnb-reth
P2P_PRIV_KEY: ${OPBNB_NODE_PRIV_KEY} P2P_PRIV_KEY: ${OPBNB_NODE_PRIV_KEY}
NETWORK_NAME: mainnet NETWORK_NAME: mainnet
OP_NODE_P2P_ADVERTISE_IP: ${IP}
expose: expose:
- 56452 - 56452
env_file: env_file: