node is refactored into it's own template
This commit is contained in:
@@ -22,11 +22,6 @@
|
||||
# curl -X POST https://${IP}.traefik.me/unichain-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:
|
||||
unichain-mainnet:
|
||||
@@ -149,9 +144,9 @@ services:
|
||||
command:
|
||||
- --common-live-blocks-addr=unichain-mainnet-firehose:10014
|
||||
- --log-to-file=false
|
||||
- --substreams-block-execution-timeout=${UNICHAIN_MAINNET_SUBSTREAMS_BLOCK_EXECUTION_TIMEOUT:-30m0s}
|
||||
- --substreams-block-execution-timeout=${UNICHAIN_MAINNET_SUBSTREAMS_BLOCK_EXECUTION_TIMEOUT:-3m0s}
|
||||
- --substreams-rpc-endpoints=${UNICHAIN_MAINNET_EXECUTION_ARCHIVE_RPC}
|
||||
- --substreams-tier1-max-subrequests=${UNICHAIN_MAINNET_SUBSTREAMS_TIER1_MAX_SUBREQUESTS:-20}
|
||||
- --substreams-tier1-max-subrequests=${UNICHAIN_MAINNET_SUBSTREAMS_TIER1_MAX_SUBREQUESTS:-4}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- unichain-mainnet
|
||||
@@ -213,6 +208,14 @@ services:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.unichain-mainnet-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/unichain-mainnet/node
|
||||
- traefik.http.services.unichain-mainnet-op-geth-pruned-pebble-path-node.loadbalancer.server.port=8547
|
||||
- ${NO_SSL:-traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`unichain-mainnet/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-node.rule=PathPrefix(`unichain-mainnet/node`)}
|
||||
- traefik.http.routers.unichain-mainnet-op-geth-pruned-pebble-path-node.middlewares=unichain-mainnet-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
unichain-mainnet-op-geth-pruned-pebble-path:
|
||||
|
||||
Reference in New Issue
Block a user