limits to the harmony container

This commit is contained in:
Sebastian
2022-01-03 11:53:33 +01:00
parent 09ade043e0
commit 1cf7018103

View File

@@ -111,6 +111,18 @@ services:
harmony-mainnet:
build: ./harmony/build
sysctls:
net.core.somaxconn: 1024
net.core.netdev_max_backlog: 65536
net.ipv4.tcp_tw_reuse: 1
net.ipv4.tcp_rmem: 4096 65536 16777216
net.ipv4.tcp_wmem: 4096 65536 16777216
net.ipv4.tcp_mem: 65536 131072 262144
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
expose:
- "9500"
- "9000"