node is refactored into it's own template
This commit is contained in:
@@ -22,15 +22,10 @@
|
||||
# curl -X POST https://${IP}.traefik.me/zircuit-mainnet \
|
||||
# -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-mainnet:
|
||||
image: ${ZIRCUIT_GETH_IMAGE:-zircuit1/l2-geth}:${ZIRCUIT_MAINNET_GETH_VERSION:-8974a953936d3e5d5159db7b9e2d0a58dbaab5b0}
|
||||
image: ${ZIRCUIT_GETH_IMAGE:-zircuit1/l2-geth}:${ZIRCUIT_MAINNET_GETH_VERSION:-46d6be94120deeb7369d0ae151b7bf2e6fe23888}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -51,12 +46,14 @@ services:
|
||||
- 8551
|
||||
environment:
|
||||
- GETH_CONFIG=/config/gethconfig.toml
|
||||
- GETH_ETHSTATS=d${DOMAIN}:${ZIRCUIT_MAINNET_WS_SECRET}@${ZIRCUIT_MAINNET_ETH_STATS_SERVER}:${ZIRCUIT_MAINNET_ETH_STATS_SERVER_PORT}
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://proxyd-ingress-eu.mainnet.zircuit.com/?token=drpcvATEn3gsYCLyLw7ztFLCBwQNoDJr2QjpcsNNkksu
|
||||
- GETH_TXPOOL_GLOBALQUEUE=1024
|
||||
- ZIRCUIT_NETWORK=mainnet
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --circuit-capacity-check=false
|
||||
- --datadir=/data
|
||||
- --db.engine=pebble
|
||||
- --gcmode=full
|
||||
@@ -64,6 +61,7 @@ services:
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --network=mainnet
|
||||
- --nodiscover
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
@@ -106,7 +104,7 @@ services:
|
||||
- traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path.middlewares=zircuit-mainnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
zircuit-mainnet-node:
|
||||
image: ${ZIRCUIT_NODE_IMAGE:-zircuit1/op-node}:${ZIRCUIT_MAINNET_NODE_VERSION:-8974a953936d3e5d5159db7b9e2d0a58dbaab5b0}
|
||||
image: ${ZIRCUIT_NODE_IMAGE:-zircuit1/op-node}:${MAINNET_NODE_VERSION:-46d6be94120deeb7369d0ae151b7bf2e6fe23888}
|
||||
ports:
|
||||
- 18359:18359
|
||||
- 18359:18359/udp
|
||||
@@ -124,7 +122,7 @@ services:
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_METRIC_ENABLED=true
|
||||
- OP_NODE_NETWORK=zircuit-mainnet
|
||||
- OP_NODE_NETWORK=mainnet
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=18359
|
||||
@@ -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-mainnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/zircuit-mainnet/node
|
||||
- traefik.http.services.zircuit-mainnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`zircuit-mainnet/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`zircuit-mainnet/node`)}
|
||||
- traefik.http.routers.zircuit-mainnet-op-geth-pruned-pebble-path-node.middlewares=zircuit-mainnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
zircuit-mainnet-op-geth-pruned-pebble-path:
|
||||
|
||||
Reference in New Issue
Block a user