← All guides

Environment

Configure PiChamber server hosting behavior.

PiChamber binds to 127.0.0.1 by default. Use PICHAMBER_HOST=0.0.0.0 only behind an authentication boundary; set PICHAMBER_UI_PASSWORD for network-exposed servers.

The Docker entrypoint sets PICHAMBER_HOST=0.0.0.0 and requires PICHAMBER_UI_PASSWORD. Image tag selection uses PICHAMBER_VERSION in compose (it is not passed into the container). Configure tunnels from PiChamber Settings or with pichamber tunnel.

Behind a reverse proxy, set PICHAMBER_PUBLIC_URL (or pichamber serve --public-url) to the address the proxy serves PiChamber at, such as https://pichamber.example.com. Pairing links, the Add a device QR code, and the address list paired phones refresh all put it first, ahead of the server's interface addresses. It must be the site root, with no path. Startup fails on a value PiChamber cannot use, and on a public URL whose host is not loopback without a UI password (set PICHAMBER_ALLOW_UNAUTHENTICATED_LAN=true only if the proxy authenticates users itself). PiChamber also accepts pages and WebSockets from that address when the proxy rewrites Host; passkeys still need the public hostname in Host or X-Forwarded-Host. Without it, a QR code made from a browser that opened PiChamber through the proxy still leads with that browser's address.

Pi configuration stays in Pi's normal agent directory, including auth.json, settings.json, models.json, sessions, skills, prompts, and AGENTS.md. PiChamber does not copy stored provider credentials into its own settings.

These guides are synced from the PiChamber repository at 11f89ca and may lag behind main. Spot something stale? Propose an edit upstream, then re-run npm run sync:docs here.