fix
This commit is contained in:
@@ -4,30 +4,6 @@
|
||||
services:
|
||||
polygon-amoy:
|
||||
image: ${POLYGON_BOR_IMAGE:-0xpolygon/bor}:${POLYGON_AMOY_BOR_VERSION:-v1.3.10}
|
||||
user: root
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
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
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
ports:
|
||||
- 10188:10188
|
||||
- 10188:10188/udp
|
||||
volumes:
|
||||
- ${POLYGON_AMOY_BOR_PRUNED_PEBBLE_PATH_DATA:-polygon-amoy-bor-pruned-pebble-path}:/root.bor/
|
||||
- /slowdisk:/slowdisk
|
||||
entrypoint: [bor, server]
|
||||
command:
|
||||
- --bor.heimdall=https://polygon-amoy-heimdall-rest.publicnode.com
|
||||
- --chain=amoy
|
||||
@@ -53,10 +29,21 @@ services:
|
||||
- --ws.api=eth,net,web3,txpool,debug,admin,bor
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
entrypoint: [bor, server]
|
||||
restart: unless-stopped
|
||||
user: root
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
ports:
|
||||
- 10188:10188
|
||||
- 10188:10188/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
volumes:
|
||||
- ${POLYGON_AMOY_BOR_PRUNED_PEBBLE_PATH_DATA:-polygon-amoy-bor-pruned-pebble-path}:/root.bor/
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.polygon-amoy-bor-pruned-pebble-path-stripprefix.stripprefix.prefixes=/polygon-amoy
|
||||
@@ -66,6 +53,19 @@ services:
|
||||
- ${NO_SSL:-traefik.http.routers.polygon-amoy-bor-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/polygon-amoy`)}
|
||||
- ${NO_SSL:+traefik.http.routers.polygon-amoy-bor-pruned-pebble-path.rule=PathPrefix(`/polygon-amoy`)}
|
||||
- traefik.http.routers.polygon-amoy-bor-pruned-pebble-path.middlewares=polygon-amoy-bor-pruned-pebble-path-stripprefix, ipwhitelist
|
||||
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)
|
||||
|
||||
volumes:
|
||||
polygon-amoy-bor-pruned-pebble-path:
|
||||
|
||||
@@ -4,30 +4,6 @@
|
||||
services:
|
||||
polygon-mainnet:
|
||||
image: ${POLYGON_BOR_IMAGE:-0xpolygon/bor}:${POLYGON_MAINNET_BOR_VERSION:-v1.3.10}
|
||||
user: root
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
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
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
ports:
|
||||
- 10961:10961
|
||||
- 10961:10961/udp
|
||||
volumes:
|
||||
- ${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_DATA:-polygon-mainnet-bor-pruned-pebble-path}:/root.bor/
|
||||
- /slowdisk:/slowdisk
|
||||
entrypoint: [bor, server]
|
||||
command:
|
||||
- --bor.heimdall=https://polygon-heimdall-rest.publicnode.com
|
||||
- --chain=mainnet
|
||||
@@ -53,10 +29,21 @@ services:
|
||||
- --ws.api=eth,net,web3,txpool,debug,admin,bor
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
entrypoint: [bor, server]
|
||||
restart: unless-stopped
|
||||
user: root
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
ports:
|
||||
- 10961:10961
|
||||
- 10961:10961/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 8551
|
||||
volumes:
|
||||
- ${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_DATA:-polygon-mainnet-bor-pruned-pebble-path}:/root.bor/
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.polygon-mainnet-bor-pruned-pebble-path-stripprefix.stripprefix.prefixes=/polygon-mainnet
|
||||
@@ -66,6 +53,19 @@ services:
|
||||
- ${NO_SSL:-traefik.http.routers.polygon-mainnet-bor-pruned-pebble-path.rule=Host(`$DOMAIN`) && PathPrefix(`/polygon-mainnet`)}
|
||||
- ${NO_SSL:+traefik.http.routers.polygon-mainnet-bor-pruned-pebble-path.rule=PathPrefix(`/polygon-mainnet`)}
|
||||
- traefik.http.routers.polygon-mainnet-bor-pruned-pebble-path.middlewares=polygon-mainnet-bor-pruned-pebble-path-stripprefix, ipwhitelist
|
||||
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)
|
||||
|
||||
volumes:
|
||||
polygon-mainnet-bor-pruned-pebble-path:
|
||||
|
||||
Reference in New Issue
Block a user