towercore-container-hardening
This commit is contained in:
1 parent
74cace4561
commit
be18145fa6
1 file changed
+7
@@ -3,6 +3,13 @@ services:
|
|||||||
image: towercore:final-mips64le
|
image: towercore:final-mips64le
|
||||||
platform: linux/mips64le
|
platform: linux/mips64le
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
init: true
|
||||||
|
stop_grace_period: 10s
|
||||||
|
cpus: "2.0"
|
||||||
|
mem_limit: 1g
|
||||||
|
pids_limit: 256
|
||||||
|
ulimits:
|
||||||
|
nofile: {soft: 2048, hard: 2048}
|
||||||
privileged: false
|
privileged: false
|
||||||
read_only: true
|
read_only: true
|
||||||
cap_drop: ["ALL"]
|
cap_drop: ["ALL"]
|
||||||
|
|||||||
Reference in new issue
Block a user