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:
@@ -46,8 +46,9 @@ Fränky — single trusted user; remote control surface for agent work under `/h
|
||||
- **Compose:** `compose.yml` — services `sessiond` + `web`, image built from `Dockerfile`
|
||||
- **Networks:** external `traefik`
|
||||
- **Auth:** Authelia portal `https://auth.schwenk.online`; middleware `authelia@docker`; ACL `two_factor` for this host
|
||||
- **Data:** `./data/pi-web` (PI WEB state + sessiond socket), `./data/pi-agent` → `~/.pi/agent` (sessions, packages, auth)
|
||||
- **Data:** `./data/pi-web` (PI WEB state + sessiond socket), `./data/pi-agent` → `/home/pi/.pi/agent` (sessions, packages, auth)
|
||||
- **Workspaces:** host path via `WORKSPACE_HOST_PATH` → container `/workspaces`
|
||||
- **UID:** `PUID`/`PGID` in `.env` must match host owner of the mount (boka frank = 1002)
|
||||
- **Secrets:** `OPENROUTER_API_KEY` in `.env` (see `.env.example`)
|
||||
|
||||
### Authelia handoff (consumed)
|
||||
|
||||
Reference in New Issue
Block a user