node is refactored into it's own template

This commit is contained in:
Para Dox
2025-05-24 18:04:16 +07:00
parent b0fc62b701
commit 6d0a5d9d6d
306 changed files with 1633 additions and 1671 deletions

View File

@@ -22,11 +22,6 @@
# curl -X POST https://${IP}.traefik.me/zircuit-testnet \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
zircuit-testnet:
@@ -51,11 +46,13 @@ services:
- 8551
environment:
- GETH_CONFIG=/config/gethconfig.toml
- GETH_ETHSTATS=d${DOMAIN}:${ZIRCUIT_TESTNET_WS_SECRET}@${ZIRCUIT_TESTNET_ETH_STATS_SERVER}:${ZIRCUIT_TESTNET_ETH_STATS_SERVER_PORT}
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
- GETH_ROLLUP_SEQUENCERHTTP=https://proxyd-ingress-us.testnet.zircuit.com/?token=Drpc6dqvgakKRmtx4EVJxA89AxCk7wxB4dZAdDrgk
- GETH_TXPOOL_GLOBALQUEUE=1024
entrypoint: /bin/sh -c 'exec geth "$@"' --
command:
- --circuit-capacity-check=false
- --datadir=/data
- --db.engine=pebble
- --gcmode=full
@@ -63,6 +60,7 @@ services:
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --network=testnet
- --nodiscover
- --rpc.gascap=600000000
- --rpc.txfeecap=0
@@ -105,7 +103,7 @@ services:
- traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash.middlewares=zircuit-testnet-op-geth-pruned-pebble-hash-stripprefix, ipallowlist
zircuit-testnet-node:
image: ${ZIRCUIT_NODE_IMAGE:-zircuit1/op-node}:${ZIRCUIT_TESTNET_NODE_VERSION:-e81568966f2a42a57b1347fb1dffdd5257dde73a}
image: ${ZIRCUIT_NODE_IMAGE:-zircuit1/op-node}:${TESTNET_NODE_VERSION:-e81568966f2a42a57b1347fb1dffdd5257dde73a}
ports:
- 16357:16357
- 16357:16357/udp
@@ -123,7 +121,7 @@ services:
- OP_NODE_METRICS_ENABLED=true
- OP_NODE_METRICS_PORT=7300
- OP_NODE_METRIC_ENABLED=true
- OP_NODE_NETWORK=zircuit-testnet
- OP_NODE_NETWORK=testnet
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
- OP_NODE_P2P_ADVERTISE_IP=${IP}
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
@@ -133,6 +131,10 @@ services:
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
- OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=8545
- OP_NODE_SEQUENCER_ENABLED=false
- OP_NODE_SEQUENCER_L1_CONFS=0
- OP_NODE_SEQUENCER_MAX_SAFE_LAG=0
- OP_NODE_SEQUENCER_STOPPED=false
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=consensus-layer
- OP_NODE_VERIFIER_L1_CONFS=0
@@ -150,6 +152,14 @@ services:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics
- traefik.enable=true
- traefik.http.middlewares.zircuit-testnet-op-geth-pruned-pebble-hash-node-stripprefix.stripprefix.prefixes=/zircuit-testnet/node
- traefik.http.services.zircuit-testnet-op-geth-pruned-pebble-hash-node.loadbalancer.server.port=8547
- ${NO_SSL:-traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash-node.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash-node.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`zircuit-testnet/node`)}
- ${NO_SSL:+traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash-node.rule=PathPrefix(`zircuit-testnet/node`)}
- traefik.http.routers.zircuit-testnet-op-geth-pruned-pebble-hash-node.middlewares=zircuit-testnet-op-geth-pruned-pebble-hash-node-stripprefix, ipallowlist
volumes:
zircuit-testnet-op-geth-pruned-pebble-hash: