mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-04 23:30:10 -05:00
DOCS: update CAPS across docs
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -46,6 +46,9 @@ services:
|
||||
- NET_RAW
|
||||
- NET_ADMIN
|
||||
- NET_BIND_SERVICE
|
||||
- CHOWN
|
||||
- SETUID
|
||||
- SETGID
|
||||
volumes:
|
||||
- ${APP_FOLDER}/netalertx/config:/data/config
|
||||
- ${APP_FOLDER}/netalertx/db:/data/db
|
||||
|
||||
@@ -60,6 +60,8 @@ To run as the root user, it usually looks like this (verify the IDs on your serv
|
||||
...
|
||||
```
|
||||
|
||||
If you use a custom `PUID` (e.g. `0`) and `GUID` (e.g. `100`) make sure you also update the `tmpfs` ownership, e.g. `/tmp:uid=0,gid=100...`
|
||||
|
||||
### Solution
|
||||
|
||||
1. **Run the container once as root** (`--user "0"`) to allow it to correct permissions automatically:
|
||||
|
||||
@@ -92,6 +92,9 @@ services:
|
||||
- NET_RAW
|
||||
- NET_ADMIN
|
||||
- NET_BIND_SERVICE
|
||||
- CHOWN
|
||||
- SETUID
|
||||
- SETGID
|
||||
|
||||
volumes:
|
||||
- ${APP_FOLDER}/netalertx/config:/data/config
|
||||
|
||||
@@ -47,6 +47,9 @@ services:
|
||||
- NET_RAW
|
||||
- NET_ADMIN
|
||||
- NET_BIND_SERVICE
|
||||
- CHOWN
|
||||
- SETUID
|
||||
- SETGID
|
||||
volumes:
|
||||
- /app_storage/netalertx:/data
|
||||
# to sync with system time
|
||||
|
||||
Reference in New Issue
Block a user