mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-18 10:06:30 +03:00
fix(docker): restore capabilities for privilege drop
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user