deploy: regenerate compose from vibe-node main 2d213d3bd0ee

This commit is contained in:
2026-07-26 04:43:23 +00:00
parent 3737986e27
commit 6078c661dc
9 changed files with 76 additions and 142 deletions

View File

@@ -24,12 +24,12 @@ x-logging-defaults: &logging-defaults
#
# docker compose up -d
#
# curl -X POST https://${IP}.traefik.me/ink-mainnet-op-reth-pruned \
# curl -X POST https://${IP}.traefik.me/ink-mainnet \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services:
ink-mainnet-op-reth-pruned:
ink-mainnet:
image: ${INK_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${INK_MAINNET_RETH_VERSION:-v2.3.3}
sysctls:
# TCP Performance
@@ -46,9 +46,6 @@ services:
nofile: 1048576 # Max open files (for RPC/WS connections)
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
user: root
ports:
- 14845:14845
- 14845:14845/udp
expose:
- 8545
- 9001
@@ -58,17 +55,12 @@ services:
- --chain=/config/genesis.json
- --config=/config/reth/reth.toml
- --datadir=/root/.local/share/reth
- --discovery.addr=0.0.0.0
- --discovery.port=14845
- --discovery.v5.addr=0.0.0.0
- --discovery.v5.port=14845
- --disable-discovery
- --engine.cross-block-cache-size=${INK_MAINNET_RETH_STATE_CACHE:-4096}
- --full
- --max-inbound-peers=50
- --max-outbound-peers=50
- --metrics=0.0.0.0:9001
- --nat=extip:${IP}
- --port=14845
- --rollup.sequencer-http=https://rpc-gel.inkonchain.com
- --rpc-cache.max-blocks=10000
- --rpc-cache.max-concurrent-db-requests=2048
@@ -104,16 +96,16 @@ services:
- prometheus-scrape.port=9001
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ink-mainnet-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ink-mainnet-op-reth-pruned
- traefik.http.middlewares.ink-mainnet-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/ink-mainnet
- traefik.http.services.ink-mainnet-op-reth-pruned-trace.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ink-mainnet-op-reth-pruned`) || Path(`/ink-mainnet-op-reth-pruned/`))}
- ${NO_SSL:+traefik.http.routers.ink-mainnet-op-reth-pruned-trace.rule=Path(`/ink-mainnet-op-reth-pruned`) || Path(`/ink-mainnet-op-reth-pruned/`)}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/ink-mainnet`) || Path(`/ink-mainnet/`))}
- ${NO_SSL:+traefik.http.routers.ink-mainnet-op-reth-pruned-trace.rule=Path(`/ink-mainnet`) || Path(`/ink-mainnet/`)}
- traefik.http.routers.ink-mainnet-op-reth-pruned-trace.middlewares=ink-mainnet-op-reth-pruned-trace-stripprefix, ipallowlist
shm_size: 2gb
ink-mainnet-op-reth-pruned-node:
ink-mainnet-node:
image: ${INK_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${INK_MAINNET_NODE_VERSION:-v1.19.2}
ports:
- 19845:19845
@@ -126,7 +118,7 @@ services:
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
- OP_NODE_L2_ENGINE_KIND=reth
- OP_NODE_L2_ENGINE_RPC=http://ink-mainnet-op-reth-pruned:8551
- OP_NODE_L2_ENGINE_RPC=http://ink-mainnet:8551
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
- OP_NODE_LOG_LEVEL=info
@@ -144,12 +136,12 @@ services:
- OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=execution-layer
- OP_NODE_SYNCMODE=consensus-layer
- OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [op-node]
restart: unless-stopped
depends_on:
ink-mainnet-op-reth-pruned:
ink-mainnet:
condition: service_started
restart: true
networks:
@@ -163,12 +155,12 @@ services:
- prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.ink-mainnet-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ink-mainnet-op-reth-pruned/node
- traefik.http.middlewares.ink-mainnet-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/ink-mainnet/node
- traefik.http.services.ink-mainnet-op-reth-pruned-trace-node.loadbalancer.server.port=9545
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ink-mainnet-op-reth-pruned/node`)}
- ${NO_SSL:+traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.rule=PathPrefix(`/ink-mainnet-op-reth-pruned/node`)}
- ${NO_SSL:-traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/ink-mainnet/node`)}
- ${NO_SSL:+traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.rule=PathPrefix(`/ink-mainnet/node`)}
- traefik.http.routers.ink-mainnet-op-reth-pruned-trace-node.middlewares=ink-mainnet-op-reth-pruned-trace-node-stripprefix, ipallowlist
volumes: