fix(docker): restore capabilities for privilege drop

This commit is contained in:
yu-xin-c authored and Xubin Ren committed 2026-08-13 02:13:51 +09:00
1 parent edec29e997
commit 3741ecda0b
2 files changed
+10

No files matched your search

+5
View File
@@ -8,6 +8,11 @@ x-common-config: &common-config
- ~/.nanobot:/home/nanobot/.nanobot
cap_drop:
- ALL
# Entrypoint uses these to fix bind-mount ownership and drop to the nanobot user.
cap_add:
- CHOWN
- SETGID
- SETUID
services:
nanobot-gateway: