#54: fix ulimits

This commit is contained in:
Muayyad alsadi 2019-10-04 20:27:19 +03:00
parent 72697016f9
commit 87e7211ade

View File

@ -3,14 +3,14 @@ services:
ulimit1: ulimit1:
image: ulimit_test image: ulimit_test
command: ["ulimit.sh" ] command: ["ulimit.sh" ]
ulimit: nofile=1001 ulimits: nofile=1001
build: build:
context: ./ context: ./
dockerfile: Dockerfile dockerfile: Dockerfile
ulimit2: ulimit2:
image: ulimit_test image: ulimit_test
command: ["ulimit.sh" ] command: ["ulimit.sh" ]
ulimit: ulimits:
- nproc=1002:2002 - nproc=1002:2002
- nofile=1002 - nofile=1002
build: build:
@ -19,7 +19,7 @@ services:
ulimit3: ulimit3:
image: ulimit_test image: ulimit_test
command: [ "ulimit.sh" ] command: [ "ulimit.sh" ]
ulimit: ulimits:
nofile: 1003 nofile: 1003
nproc: nproc:
soft: 1003 soft: 1003