f7d3df128f
Compose services, Dockerfile, and deploy notes for pi.schwenk.online with OpenRouter and external Authelia middleware. Co-authored-by: Cursor <cursoragent@cursor.com>
2.2 KiB
2.2 KiB
SOUL.md — Project Character
Product Name
pidevremote / PI on boka
One-Liner
Pi Coding Agent + PI WEB in Docker behind Traefik on pi.schwenk.online, gated by Authelia (external).
Vision
Prompt and supervise Pi agent sessions on boka from a phone or any browser, without exposing the agent UI unauthenticated.
Audience
Fränky — single trusted user; remote control surface for agent work under /home/frank project mounts.
Tone & Wording
- Voice: direct, ops-clear
- Formality: du
- Error messages: honest + next step (logs,
docker compose logs) - Forbidden: pretending this stack is multi-tenant or a public SaaS
Non-Goals
- Authelia / SSO (separate project; consume
authelia@dockeronly) - Host-installed
pior host systemd PI WEB - Gondolin / OpenShell sandbox patterns (Plain Docker only)
- Public unauthenticated exposure of PI WEB
Project-Specific Rules
- Never commit
.env, API keys, ordata/pi-agentcontents - Traefik middleware: reference
authelia@docker— do not redefine ForwardAuth here - Keep workspace bind mounts intentional (default
/workspaces); do not mount all of/home/frankblindly - Pin
@earendil-works/pi-coding-agentto0.82.xwhile@jmfederico/pi-webpeer range is>=0.82.1 <0.83
Infrastructure (project-local)
- Domain:
pi.schwenk.online - Deploy path (typical):
/home/frank/pi.schwenk.online - Compose:
compose.yml— servicessessiond+web, image built fromDockerfile - Networks: external
traefik - Auth: Authelia portal
https://auth.schwenk.online; middlewareauthelia@docker; ACLtwo_factorfor this host - Data:
./data/pi-web(PI WEB state + sessiond socket),./data/pi-agent→~/.pi/agent(sessions, packages, auth) - Workspaces: host path via
WORKSPACE_HOST_PATH→ container/workspaces - Secrets:
OPENROUTER_API_KEYin.env(see.env.example)
Authelia handoff (consumed)
| Feld | Wert |
|---|---|
| Middleware | authelia@docker |
| Portal | https://auth.schwenk.online |
| Netz | traefik |
| Cookie domain | schwenk.online |
| ACL | pi.schwenk.online → two_factor |
| ForwardAuth | http://authelia:9091/api/authz/forward-auth |