This commit is contained in:
Para Dox
2025-04-12 13:24:52 +07:00
parent 889d64c1c0
commit 160761f632
206 changed files with 472 additions and 472 deletions

View File

@@ -14,6 +14,8 @@ services:
# 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)
build:
context: ./fantom
dockerfile: sonic.Dockerfile
@@ -62,8 +64,6 @@ services:
- ${NO_SSL:-traefik.http.routers.fantom-mainnet-sonic-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/fantom-mainnet-archive`)}
- ${NO_SSL:+traefik.http.routers.fantom-mainnet-sonic-archive.rule=PathPrefix(`/fantom-mainnet-archive`)}
- traefik.http.routers.fantom-mainnet-sonic-archive.middlewares=fantom-mainnet-sonic-archive-stripprefix, ipwhitelist
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
volumes:
fantom-mainnet-sonic-archive:

View File

@@ -14,6 +14,8 @@ services:
# 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)
build:
context: ./fantom
dockerfile: sonic.Dockerfile
@@ -62,8 +64,6 @@ services:
- ${NO_SSL:-traefik.http.routers.fantom-testnet-sonic-archive.rule=Host(`$DOMAIN`) && PathPrefix(`/fantom-testnet-archive`)}
- ${NO_SSL:+traefik.http.routers.fantom-testnet-sonic-archive.rule=PathPrefix(`/fantom-testnet-archive`)}
- traefik.http.routers.fantom-testnet-sonic-archive.middlewares=fantom-testnet-sonic-archive-stripprefix, ipwhitelist
ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections)
volumes:
fantom-testnet-sonic-archive: