Enhance with yaml

William Desportes committed 2026-09-23 18:27:25 +00:00
1 parent dfd99c69c3
commit a4b8d13c02
1 file changed
+2 -1
+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
```