classic names

This commit is contained in:
Para Dox
2025-05-19 15:16:47 +07:00
parent ca84033a14
commit 88140231ce
7 changed files with 21 additions and 250 deletions

View File

@@ -19,7 +19,7 @@
# #
# docker compose up -d # docker compose up -d
# #
# curl -X POST https://${IP}.traefik.me/arbitrum-one \ # curl -X POST https://${IP}.traefik.me/arbitrum-one-arbnode-archive \
# -H "Content-Type: application/json" \ # -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' # --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults x-logging-defaults: &logging-defaults
@@ -29,7 +29,7 @@ x-logging-defaults: &logging-defaults
max-file: '3' max-file: '3'
services: services:
arbitrum-one: arbitrum-one-arbnode-archive:
image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4} image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4}
sysctls: sysctls:
# TCP Performance # TCP Performance
@@ -78,12 +78,12 @@ services:
labels: labels:
- prometheus-scrape.enabled=false - prometheus-scrape.enabled=false
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.arbitrum-one-arbnode-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/arbitrum-one - traefik.http.middlewares.arbitrum-one-arbnode-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/arbitrum-one-arbnode-archive
- traefik.http.services.arbitrum-one-arbnode-archive-leveldb-hash.loadbalancer.server.port=8545 - traefik.http.services.arbitrum-one-arbnode-archive-leveldb-hash.loadbalancer.server.port=8545
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.entrypoints=websecure}
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.tls.certresolver=myresolver}
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/arbitrum-one`) || Path(`/arbitrum-one/`))} - ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/arbitrum-one-arbnode-archive`) || Path(`/arbitrum-one-arbnode-archive/`))}
- ${NO_SSL:+traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Path(`/arbitrum-one`) || Path(`/arbitrum-one/`)} - ${NO_SSL:+traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Path(`/arbitrum-one-arbnode-archive`) || Path(`/arbitrum-one-arbnode-archive/`)}
- traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.middlewares=arbitrum-one-arbnode-archive-leveldb-hash-stripprefix, ipallowlist - traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.middlewares=arbitrum-one-arbnode-archive-leveldb-hash-stripprefix, ipallowlist
volumes: volumes:

View File

@@ -51,6 +51,7 @@ services:
- --chain.id=42161 - --chain.id=42161
- --execution.caching.archive=true - --execution.caching.archive=true
- --execution.caching.state-scheme=hash - --execution.caching.state-scheme=hash
- --execution.rpc.classic-redirect=http://arbitrum-one-arbnode-archive:8545
- --execution.rpc.gas-cap=600000000 - --execution.rpc.gas-cap=600000000
- --execution.sequencer.enable=false - --execution.sequencer.enable=false
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
@@ -95,7 +96,7 @@ services:
- ${NO_SSL:+traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.rule=Path(`/arbitrum-one-archive`) || Path(`/arbitrum-one-archive/`)} - ${NO_SSL:+traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.rule=Path(`/arbitrum-one-archive`) || Path(`/arbitrum-one-archive/`)}
- traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.middlewares=arbitrum-one-nitro-archive-leveldb-hash-stripprefix, ipallowlist - traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.middlewares=arbitrum-one-nitro-archive-leveldb-hash-stripprefix, ipallowlist
arbitrum-one-classic: arbitrum-one-arbnode-archive:
image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4} image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4}
sysctls: sysctls:
# TCP Performance # TCP Performance

View File

@@ -71,7 +71,7 @@ services:
- --nat=extip:${IP} - --nat=extip:${IP}
- --networkid=44787 - --networkid=44787
- --port=10895 - --port=10895
- --rollup.historicalrpc=${CELO_ALFAJORES_CLASSIC_ARCHIVE_RPC} - --rollup.historicalrpc=${CELO_ALFAJORES_CLASSIC_ARCHIVE_RPC:-http://celo-alfajores-geth-archive:8545}
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=hash - --state.scheme=hash
@@ -91,6 +91,8 @@ services:
- --authrpc.vhosts=* - --authrpc.vhosts=*
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
depends_on:
- celo-alfajores-geth-archive
networks: networks:
- chains - chains
volumes: volumes:
@@ -188,66 +190,6 @@ services:
labels: labels:
- prometheus-scrape.enabled=false - prometheus-scrape.enabled=false
celo-alfajores-archive-classic:
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_ALFAJORES_GETH_VERSION:-1.8.9}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
user: root
ports:
- 12386:12386
- 12386:12386/udp
expose:
- 8545
- 6060
command:
- --datadir=/root/.celo
- --gcmode=archive
- --http
- --http.addr=0.0.0.0
- --http.api=admin,debug,web3,eth,istanbul,net
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --nat=extip:${IP}
- --port=12386
- --rpc.gascap=600000000
- --rpc.txfeecap=0
- --ws
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,web3,eth,istanbul,net
- --ws.origins=*
- --ws.port=8545
restart: unless-stopped
stop_grace_period: 5m
networks:
- chains
volumes:
- ${CELO_ALFAJORES_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-alfajores-geth-archive-leveldb-hash}:/root/.celo
- /slowdisk:/slowdisk
logging:
driver: json-file
options:
max-size: 10m
max-file: '3'
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus
volumes: volumes:
celo-alfajores-geth-archive-leveldb-hash: celo-alfajores-geth-archive-leveldb-hash:
celo-alfajores-op-geth-archive-leveldb-hash: celo-alfajores-op-geth-archive-leveldb-hash:

View File

@@ -90,6 +90,8 @@ services:
- --authrpc.vhosts=* - --authrpc.vhosts=*
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
depends_on:
- celo-alfajores-geth-pruned
networks: networks:
- chains - chains
volumes: volumes:
@@ -187,66 +189,6 @@ services:
labels: labels:
- prometheus-scrape.enabled=false - prometheus-scrape.enabled=false
celo-alfajores-classic:
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_ALFAJORES_GETH_VERSION:-1.8.9}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
user: root
ports:
- 13307:13307
- 13307:13307/udp
expose:
- 8545
- 6060
command:
- --datadir=/root/.celo
- --gcmode=full
- --http
- --http.addr=0.0.0.0
- --http.api=admin,debug,web3,eth,istanbul,net
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --nat=extip:${IP}
- --port=13307
- --rpc.gascap=600000000
- --rpc.txfeecap=0
- --ws
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,web3,eth,istanbul,net
- --ws.origins=*
- --ws.port=8545
restart: unless-stopped
stop_grace_period: 5m
networks:
- chains
volumes:
- ${CELO_ALFAJORES_GETH_PRUNED_LEVELDB_HASH_DATA:-celo-alfajores-geth-pruned-leveldb-hash}:/root/.celo
- /slowdisk:/slowdisk
logging:
driver: json-file
options:
max-size: 10m
max-file: '3'
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus
volumes: volumes:
celo-alfajores-geth-pruned-leveldb-hash: celo-alfajores-geth-pruned-leveldb-hash:
celo-alfajores-op-geth-pruned-leveldb-hash: celo-alfajores-op-geth-pruned-leveldb-hash:

View File

@@ -71,7 +71,7 @@ services:
- --nat=extip:${IP} - --nat=extip:${IP}
- --networkid=42220 - --networkid=42220
- --port=12111 - --port=12111
- --rollup.historicalrpc=${CELO_MAINNET_CLASSIC_ARCHIVE_RPC} - --rollup.historicalrpc=${CELO_MAINNET_CLASSIC_ARCHIVE_RPC:-http://celo-mainnet-geth-archive:8545}
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=hash - --state.scheme=hash
@@ -91,6 +91,8 @@ services:
- --authrpc.vhosts=* - --authrpc.vhosts=*
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
depends_on:
- celo-mainnet-geth-archive
networks: networks:
- chains - chains
volumes: volumes:
@@ -189,66 +191,6 @@ services:
labels: labels:
- prometheus-scrape.enabled=false - prometheus-scrape.enabled=false
celo-mainnet-archive-classic:
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_MAINNET_GETH_VERSION:-1.8.9}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
user: root
ports:
- 10164:10164
- 10164:10164/udp
expose:
- 8545
- 6060
command:
- --datadir=/root/.celo
- --gcmode=archive
- --http
- --http.addr=0.0.0.0
- --http.api=admin,debug,web3,eth,istanbul,net
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --nat=extip:${IP}
- --port=10164
- --rpc.gascap=600000000
- --rpc.txfeecap=0
- --ws
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,web3,eth,istanbul,net
- --ws.origins=*
- --ws.port=8545
restart: unless-stopped
stop_grace_period: 5m
networks:
- chains
volumes:
- ${CELO_MAINNET_GETH_ARCHIVE_LEVELDB_HASH_DATA:-celo-mainnet-geth-archive-leveldb-hash}:/root/.celo
- /slowdisk:/slowdisk
logging:
driver: json-file
options:
max-size: 10m
max-file: '3'
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus
volumes: volumes:
celo-mainnet-geth-archive-leveldb-hash: celo-mainnet-geth-archive-leveldb-hash:
celo-mainnet-op-geth-archive-leveldb-hash: celo-mainnet-op-geth-archive-leveldb-hash:

View File

@@ -90,6 +90,8 @@ services:
- --authrpc.vhosts=* - --authrpc.vhosts=*
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
depends_on:
- celo-mainnet-geth-pruned
networks: networks:
- chains - chains
volumes: volumes:
@@ -188,66 +190,6 @@ services:
labels: labels:
- prometheus-scrape.enabled=false - prometheus-scrape.enabled=false
celo-mainnet-classic:
image: ${CELO_GETH_IMAGE:-us.gcr.io/celo-org/geth}:${CELO_MAINNET_GETH_VERSION:-1.8.9}
sysctls:
# TCP Performance
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
net.core.somaxconn: 32768 # Higher connection queue
# Memory/Connection Management
# net.core.netdev_max_backlog: 50000 # Increase network buffer
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
user: root
ports:
- 11882:11882
- 11882:11882/udp
expose:
- 8545
- 6060
command:
- --datadir=/root/.celo
- --gcmode=full
- --http
- --http.addr=0.0.0.0
- --http.api=admin,debug,web3,eth,istanbul,net
- --http.port=8545
- --http.vhosts=*
- --maxpeers=50
- --metrics
- --metrics.addr=0.0.0.0
- --metrics.port=6060
- --nat=extip:${IP}
- --port=11882
- --rpc.gascap=600000000
- --rpc.txfeecap=0
- --ws
- --ws.addr=0.0.0.0
- --ws.api=admin,debug,web3,eth,istanbul,net
- --ws.origins=*
- --ws.port=8545
restart: unless-stopped
stop_grace_period: 5m
networks:
- chains
volumes:
- ${CELO_MAINNET_GETH_PRUNED_LEVELDB_HASH_DATA:-celo-mainnet-geth-pruned-leveldb-hash}:/root/.celo
- /slowdisk:/slowdisk
logging:
driver: json-file
options:
max-size: 10m
max-file: '3'
labels:
- prometheus-scrape.enabled=true
- prometheus-scrape.port=6060
- prometheus-scrape.path=/debug/metrics/prometheus
volumes: volumes:
celo-mainnet-geth-pruned-leveldb-hash: celo-mainnet-geth-pruned-leveldb-hash:
celo-mainnet-op-geth-pruned-leveldb-hash: celo-mainnet-op-geth-pruned-leveldb-hash:

View File

@@ -67,7 +67,7 @@ services:
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP} - --nat=extip:${IP}
- --port=13399 - --port=13399
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC} - --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC:-http://op-mainnet-l2geth-archive:8545}
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=hash - --state.scheme=hash
@@ -87,6 +87,8 @@ services:
- --authrpc.vhosts=* - --authrpc.vhosts=*
restart: unless-stopped restart: unless-stopped
stop_grace_period: 5m stop_grace_period: 5m
depends_on:
- op-mainnet-l2geth-archive
networks: networks:
- chains - chains
volumes: volumes:
@@ -153,7 +155,7 @@ services:
- prometheus-scrape.port=7300 - prometheus-scrape.port=7300
- prometheus-scrape.path=/metrics - prometheus-scrape.path=/metrics
op-mainnet-l2geth-archive-classic: op-mainnet-l2geth-archive:
image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31} image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31}
sysctls: sysctls:
# TCP Performance # TCP Performance