mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-01-23 06:08:32 -05:00
Update Docker Compose capabilities for root-entrypoint
Added necessary capabilities for root-entrypoint operations.
This commit is contained in:
@@ -27,6 +27,9 @@ services:
|
||||
- NET_ADMIN # Required for ARP scanning
|
||||
- NET_RAW # Required for raw socket operations
|
||||
- NET_BIND_SERVICE # Required to bind to privileged ports (nbtscan)
|
||||
- CHOWN # Required for root-entrypoint to chown /data + /tmp before dropping privileges
|
||||
- SETUID # Required for root-entrypoint to switch to non-root user
|
||||
- SETGID # Required for root-entrypoint to switch to non-root group
|
||||
|
||||
volumes:
|
||||
- type: volume # Persistent Docker-managed named volume for config + database
|
||||
|
||||
Reference in New Issue
Block a user