Update docker-compose.yml

This commit is contained in:
vvzvlad 2024-12-18 01:19:11 +03:00
parent d6b915c28f
commit cb01ad5a07

View File

@ -3,7 +3,8 @@ services:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101411.2
restart: unless-stopped
environment:
- EXT_IP: "###IP###"
EXT_IP: "###IP###"
L2_JWT_SECRET: "/etc/optimism/jwt.txt"
entrypoint: >
/bin/sh -c "
if [ ! -d /data/optimism/geth/chaindata ]; then
@ -14,7 +15,7 @@ services:
--http.addr=0.0.0.0 --http.api=web3,debug,eth,txpool,net,engine --ws
--ws.addr=0.0.0.0 --ws.port=8546 --ws.origins=* --ws.api=debug,eth,txpool,net,engine
--syncmode=full --gcmode=archive --maxpeers=100 --authrpc.vhosts=*
--authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.jwtsecret=/etc/optimism/jwt.txt --metrics
--authrpc.addr=0.0.0.0 --authrpc.port=8551 --authrpc.jwtsecret=${L2_JWT_SECRET} --metrics
--metrics.addr=0.0.0.0 --metrics.expensive --metrics.port=6060 --nat=extip:${EXT_IP}
--rollup.disabletxpoolgossip=false --rpc.allow-unprotected-txs=true --override.fjord=1730106000
--override.granite=1730106000 --override.holocene=1734685200 --db.engine=pebble --state.scheme=hash
@ -43,27 +44,27 @@ services:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.10.0
restart: unless-stopped
environment:
- L1_URL: "https://ethereum-sepolia-rpc.publicnode.com"
- L2_URL: "http://op-geth-minato:8551"
- RPC_ADDR: "127.0.0.1"
- RPC_PORT: "9545"
- L2_JWT_SECRET: "/etc/optimism/jwt.txt"
- L1_TRUST_RPC: "true"
- L1_BEACON: "https://ethereum-sepolia-beacon-api.publicnode.com"
- SYNC_MODE: "execution-layer"
- L1_RPC_KIND: "standard"
- OP_NODE_STATIC_PEERS: "/dns4/peering-01.prd.hypersonicl2.com/tcp/9222/p2p/16Uiu2HAm36ufaFmS3tjSjkUnwSJmQN8W8fZ8yXiu2AYL2o11EgcK,/dns4/peering-02.prd.hypersonicl2.com/tcp/9222/p2p/16Uiu2HAmPkRbG8kkhJ3JWmrqeiMvy1hWXFSz4s4rncVe8YiCJHmx"
- P2P_PRIV_PATH: "/data/optimism/p2p.key"
- P2P_DISCOVERY_PATH: "/data/optimism/p2p.db"
- P2P_PEERSTORE_PATH: "/data/optimism/p2p-peerstore.db"
- P2P_ADVERTISE_IP: "###IP###"
- OP_NODE_P2P_PEER_BANNING: "false"
- METRICS_ENABLED: "true"
- METRICS_PORT: "7310"
- OP_NODE_OVERRIDE_FJORD: "1730106000"
- OP_NODE_OVERRIDE_GRANITE: "1730106000"
- OP_NODE_OVERRIDE_HOLOCENE: "1734685200"
- ROLLUP_CONFIG: "/config/minato-rollup.json"
L1_URL: "https://ethereum-sepolia-rpc.publicnode.com"
L2_URL: "http://op-geth-minato:8551"
RPC_ADDR: "127.0.0.1"
RPC_PORT: "9545"
L2_JWT_SECRET: "/etc/optimism/jwt.txt"
L1_TRUST_RPC: "true"
L1_BEACON: "https://ethereum-sepolia-beacon-api.publicnode.com"
SYNC_MODE: "execution-layer"
L1_RPC_KIND: "standard"
OP_NODE_STATIC_PEERS: "/dns4/peering-01.prd.hypersonicl2.com/tcp/9222/p2p/16Uiu2HAm36ufaFmS3tjSjkUnwSJmQN8W8fZ8yXiu2AYL2o11EgcK,/dns4/peering-02.prd.hypersonicl2.com/tcp/9222/p2p/16Uiu2HAmPkRbG8kkhJ3JWmrqeiMvy1hWXFSz4s4rncVe8YiCJHmx"
P2P_PRIV_PATH: "/data/optimism/p2p.key"
P2P_DISCOVERY_PATH: "/data/optimism/p2p.db"
P2P_PEERSTORE_PATH: "/data/optimism/p2p-peerstore.db"
P2P_ADVERTISE_IP: "###IP###"
OP_NODE_P2P_PEER_BANNING: "false"
METRICS_ENABLED: "true"
METRICS_PORT: "7310"
OP_NODE_OVERRIDE_FJORD: "1730106000"
OP_NODE_OVERRIDE_GRANITE: "1730106000"
OP_NODE_OVERRIDE_HOLOCENE: "1734685200"
ROLLUP_CONFIG: "/config/minato-rollup.json"
command: >
op-node --l1=${L1_URL} --l2=${L2_URL} --rpc.addr=${RPC_ADDR} --rpc.port=${RPC_PORT}
--l2.jwt-secret=${L2_JWT_SECRET} --l1.trustrpc=${L1_TRUST_RPC} --l1.beacon=${L1_BEACON}