Update docker-compose.yml

This commit is contained in:
vvzvlad 2024-12-19 21:15:26 +03:00
parent 4f0826c3c8
commit 6b4ed4e826

View File

@ -43,27 +43,27 @@ services:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.10.0 image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.10.0
restart: unless-stopped restart: unless-stopped
environment: environment:
L1_URL: "https://ethereum-sepolia-rpc.publicnode.com" - L1_URL: "https://ethereum-sepolia-rpc.publicnode.com"
L2_URL: "http://op-geth-minato:8551" - L2_URL: "http://op-geth-minato:8551"
RPC_ADDR: "127.0.0.1" - RPC_ADDR: "127.0.0.1"
RPC_PORT: "9545" - RPC_PORT: "9545"
L2_JWT_SECRET: "/etc/optimism/jwt.txt" - L2_JWT_SECRET: "/etc/optimism/jwt.txt"
L1_TRUST_RPC: "true" - L1_TRUST_RPC: "true"
L1_BEACON: "https://ethereum-sepolia-beacon-api.publicnode.com" - L1_BEACON: "https://ethereum-sepolia-beacon-api.publicnode.com"
SYNC_MODE: "execution-layer" - SYNC_MODE: "execution-layer"
L1_RPC_KIND: "standard" - 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" - 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_PRIV_PATH: "/data/optimism/p2p.key"
P2P_DISCOVERY_PATH: "/data/optimism/p2p.db" - P2P_DISCOVERY_PATH: "/data/optimism/p2p.db"
P2P_PEERSTORE_PATH: "/data/optimism/p2p-peerstore.db" - P2P_PEERSTORE_PATH: "/data/optimism/p2p-peerstore.db"
P2P_ADVERTISE_IP: "###IP###" - P2P_ADVERTISE_IP: "###IP###"
OP_NODE_P2P_PEER_BANNING: "false" - OP_NODE_P2P_PEER_BANNING: "false"
METRICS_ENABLED: "true" - METRICS_ENABLED: "true"
METRICS_PORT: "7310" - METRICS_PORT: "7310"
OP_NODE_OVERRIDE_FJORD: "1730106000" - OP_NODE_OVERRIDE_FJORD: "1730106000"
OP_NODE_OVERRIDE_GRANITE: "1730106000" - OP_NODE_OVERRIDE_GRANITE: "1730106000"
OP_NODE_OVERRIDE_HOLOCENE: "1734685200" - OP_NODE_OVERRIDE_HOLOCENE: "1734685200"
ROLLUP_CONFIG: "/config/minato-rollup.json" - ROLLUP_CONFIG: "/config/minato-rollup.json"
command: > command: >
op-node --l1=${L1_URL} --l2=${L2_URL} --rpc.addr=${RPC_ADDR} --rpc.port=${RPC_PORT} 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} --l2.jwt-secret=${L2_JWT_SECRET} --l1.trustrpc=${L1_TRUST_RPC} --l1.beacon=${L1_BEACON}