Add the following environment variable to your system, for example within ~/.bashrc or ~/.zshrc:
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)Creates every file and directory which gets mounted into the php container without overwriting existing ones:
- shell rc/history, git and ssh files within the host home (
~) - coding agent directories within
.home(within this repository, git-ignored), seeded with default settings
Adjust the seeded settings files afterwards to your liking, they stay on the host and get mounted.
./setup-mount-points.shThe following coding agents (harnesses) are preinstalled within the php container, their directories get mounted
from .home (see docker-compose.yml), so auth, settings, sessions and history survive container rebuilds:
- Antigravity CLI (
agy, shares.geminiwith Gemini CLI) - Claude Code
- Codex
- Gemini CLI
- Opencode
- PI incl. pi-llama (installed on first start)
Use antigravity-reset, claude-reset, codex-reset, gemini-reset, opencode-reset, pi-reset or
harness-reset within the container to wipe the agent state while keeping auth and settings.
PI can run against a local model via pi-llama, start a llama.cpp server on the host, for example:
llama-server \
-hf lmstudio-community/Qwen3.6-35B-A3B-GGUF:Q4_K_M \
-c 32768 \
-ngl 999 \
--flash-attn on \
--host 0.0.0.0 \
--port 9931docker compose up -d
docker compose exec php bash2026 Dominik Zogg