fix: run production server without root

This commit is contained in:
cabbage committed 2026-09-11 08:13:30 +00:00
1 parent f86abcecb5
commit 418681d38e
2 files changed
+4

No files matched your search

+3
View File
@@ -27,6 +27,9 @@ services:
server:
image: "${RVBOX_SERVER_IMAGE:?set RVBOX_SERVER_IMAGE to a pinned rvbox-server image}"
# The init container is the only root process. Its exact 65532 ownership
# setup lets the long-lived server run without host/container root power.
user: "65532:65532"
restart: unless-stopped
command: ["--config", "/etc/rvbox/server.toml"]
read_only: true