Skip to content

Commit 8f5008a

Browse files
committed
Add ulimits for nofile in docker-compose.yml to increase file descriptor limits
1 parent 234686c commit 8f5008a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ services:
4141
start_period: 300s
4242
extra_hosts:
4343
- "host.docker.internal:host-gateway"
44+
ulimits:
45+
nofile:
46+
soft: 100000
47+
hard: 100000
4448

4549
nginx:
4650
image: nginx:alpine

0 commit comments

Comments
 (0)