mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:49:38 +02:00
Enhance with yaml
1 parent
dfd99c69c3
commit
a4b8d13c02
1 file changed
+2
-1
@@ -29,7 +29,8 @@ docker run -d \
|
|||||||
Notice that the port mapping (`-p 80:1024`) reflects the `ROCKET_PORT` setting.
|
Notice that the port mapping (`-p 80:1024`) reflects the `ROCKET_PORT` setting.
|
||||||
|
|
||||||
Another way may be CAP_NET_BIND_SERVICE, which allows to bind to ports below 1024 as non-root user.
|
Another way may be CAP_NET_BIND_SERVICE, which allows to bind to ports below 1024 as non-root user.
|
||||||
|
```yaml
|
||||||
cap_add:
|
cap_add:
|
||||||
- CAP_NET_BIND_SERVICE
|
- CAP_NET_BIND_SERVICE
|
||||||
user: nobody
|
user: nobody
|
||||||
|
```
|
||||||
Reference in new issue
Block a user