passwords_backupper: 403 при прореживании - заметка о правах; cap_add DAC_READ_SEARCH в шаблоне compose
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m12s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 21:16:46 +03:00
parent 4a32a08b6d
commit 90f75ac2fc
3 changed files with 30 additions and 2 deletions

View File

@@ -10,6 +10,8 @@ services:
user: "0:0"
read_only: true
cap_drop: [ALL]
# только чтение любых файлов (settings.json5 принадлежит deploy, 0600); запись и смена владельцев недоступны
cap_add: [DAC_READ_SEARCH]
security_opt: ["no-new-privileges:true"]
mem_limit: 1g
volumes: