ulimit for rpc-base.yml and erigon.yml

This commit is contained in:
cventastic
2022-10-05 09:37:40 +02:00
parent eaae1ef854
commit 31cda87d29
2 changed files with 12 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ services:
- "30303"
- "30304"
- "9090"
ulimits:
nofile:
soft: "40000"
hard: "50000"
volumes:
- erigon-trace:/home/erigon/.local/share/erigon
- .jwtsecret:/jwtsecret
@@ -48,6 +52,10 @@ services:
- chains
expose:
- "8545"
ulimits:
nofile:
soft: "40000"
hard: "50000"
restart: unless-stopped
depends_on:
- "erigon-trace"

View File

@@ -11,6 +11,10 @@ services:
ports:
- "443:443"
- "127.0.0.1:8080:8080"
ulimits:
nofile:
soft: "40000"
hard: "50000"
command:
- "--api=true"
- "--api.insecure=true"