fix: run container as host PUID/PGID for workspace mounts
node uid 1000 could not read /home/frank (frank=1002); build and compose now use configurable PUID/PGID. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+8
-4
@@ -3,8 +3,12 @@
|
||||
# OpenRouter (recommended default provider for this stack)
|
||||
OPENROUTER_API_KEY=sk-or-v1-replace-me
|
||||
|
||||
# Match host user that owns the workspace mount (boka: id -u / id -g → 1002)
|
||||
PUID=1002
|
||||
PGID=1002
|
||||
|
||||
# Host directory mounted at /workspaces inside the containers.
|
||||
# On boka, point at the projects Pi should see, e.g.:
|
||||
# WORKSPACE_HOST_PATH=/home/frank
|
||||
# For local smoke tests, leave unset to use ./workspaces
|
||||
WORKSPACE_HOST_PATH=./workspaces
|
||||
# On boka:
|
||||
WORKSPACE_HOST_PATH=/home/frank
|
||||
# For local smoke tests without /home/frank projects:
|
||||
# WORKSPACE_HOST_PATH=./workspaces
|
||||
|
||||
Reference in New Issue
Block a user