This commit is contained in:
Para Dox
2025-04-11 15:25:55 +07:00
parent 1529bf3bfc
commit 5b87c35356
209 changed files with 1426 additions and 491 deletions

View File

@@ -2,7 +2,12 @@
services:
sonic-mainnet-archive:
image: ${SONIC_SONIC_IMAGE:-}:${SONIC_MAINNET_SONIC_VERSION:-v2.0.3}
build:
context: ./sonic
dockerfile: sonic.Dockerfile
args:
VERSION: v2.0.3
REPO: https://github.com/0xsoniclabs/sonic.git
user: root
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
@@ -14,7 +19,7 @@ services:
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.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
expose:
@@ -75,7 +80,10 @@ volumes:
sonic-mainnet-sonic-archive:
x-upstreams:
- chain: sonic
- id: $${ID}
labels:
provider: $${PROVIDER}
chain: sonic
method-groups:
enabled:
- debug
@@ -83,4 +91,5 @@ x-upstreams:
methods:
disabled:
enabled:
enabled:
- name: txpool_content # TODO: should be disabled for rollup nodes