Контейнерный hardening и dependency/image scan

This commit is contained in:
EgorAnti
2026-11-27 13:36:34 +03:00
parent dd3427aa4c
commit 415edbf722
9 changed files with 379 additions and 11 deletions
+4
View File
@@ -189,6 +189,7 @@ services:
retries: 30
restart: unless-stopped
cap_drop: [AUDIT_WRITE, MKNOD, NET_RAW, SETFCAP, SETPCAP, SYS_CHROOT]
tmpfs: ["/tmp:size=64m,mode=1777"]
cpus: 1.0
mem_limit: 768m
networks: [backend]
@@ -216,6 +217,7 @@ services:
retries: 30
restart: unless-stopped
cap_drop: [AUDIT_WRITE, MKNOD, NET_RAW, SETFCAP, SETPCAP, SYS_CHROOT]
tmpfs: ["/tmp:size=16m,mode=1777"]
cpus: 0.25
mem_limit: 256m
networks: [backend]
@@ -240,6 +242,7 @@ services:
retries: 12
restart: unless-stopped
cap_drop: [AUDIT_WRITE, MKNOD, NET_RAW, SETFCAP, SETPCAP, SYS_CHROOT]
tmpfs: ["/tmp:size=64m,mode=1777"]
cpus: 0.5
mem_limit: 1024m
networks: [backend]
@@ -333,6 +336,7 @@ services:
retries: 30
restart: unless-stopped
cap_drop: [AUDIT_WRITE, MKNOD, NET_RAW, SETFCAP, SETPCAP, SYS_CHROOT]
tmpfs: ["/tmp:size=32m,mode=1777"]
cpus: 0.75
mem_limit: 512m
networks: [backend]