Start a container with your model configuration
Docker lets you run mini-a without installing OpenAF on the host. Configure OAF_MODEL in your terminal first, then pass it into the container:
docker run --rm -e OAF_MODEL -p 127.0.0.1:8080:8080 \
openaf/mini-a onport=8080 webadvanced=true usestream=true
Open the authenticated URL printed by the container. The host port is bound to loopback for a local first run. The container must be able to reach your provider; localhost in a model URL refers to the container itself, not your host’s Ollama service.
--rm removes the container after it exits. Mount a dedicated directory when you want histories or output to persist, and configure Mini-a’s paths to use that directory. Pin the image version or digest for reproducible deployments; the unqualified image above follows the published default tag.
For an interactive terminal, add -it and omit the Web startup options. See Web authentication and storage before exposing the service to other users.
Docker Support
Run mini-a in a Docker container for full isolation, reproducible environments, and easy deployment.
Docker Compose Example
version: "3.8"
services:
mini-a:
image: openaf/mini-a
environment:
- OAF_MODEL="(type: openai, model: gpt-5.2, key: '...')"
- OAF_LC_MODEL="(type: openai, model: gpt-5-mini, key: '...')"
ports:
- "8080:8080"
volumes:
- ./workspace:/workspace
command: onport=8080
Docker containers provide a natural sandbox for shell execution — you can enable useshell=true inside the container without exposing your host system.
Serve wikis and skills
Run separate MCP services when several clients share read-only knowledge. Use mcps/mcp-wiki.yaml for wiki mounts and mcps/mcp-skills.yaml for a skill library. Build retrieval indexes and graphs on a writable host before mounting them read-only; readers cannot repair missing artifacts. Stop readers during rebuilds and restart afterward so cached generations are released.
A minimal single-library service, with a prebuilt wiki at /srv/wikis/skills:
services:
skills:
image: openaf/ojobrt:edge-t8
command:
- onport=12347
- wikibackend=fs
- wikiroot=/wikis/skills
- wikiretrievalv2=true
ports:
- "127.0.0.1:12347:12347"
volumes:
- /srv/wikis/skills:/wikis/skills:ro
environment:
OPACKS: mini-a,Lucene,oJob-common
OJOB: /openaf/mini-a/mcps/mcp-skills.yaml
OJOB_MCP_MODERN: "true"
OJOB_MCP_AUTH_TOKEN: ${SKILLS_MCP_TOKEN:?Set SKILLS_MCP_TOKEN}
Set the token in your environment or a private .env file. Connect a host MCP client to http://localhost:12347/mcp using bearer authentication; another Compose service uses http://skills:12347/mcp. For untrusted clients select the bounded mcp-skills-safe.yaml or mcp-wiki-safe.yaml descriptor.
For several wikis, configure wikimounts and omit wikiroot to expose a generated catalog. context lists the mounts; wiki narrows selection. usewikigraph, wikigraphmounts and wikigraphcross can provide bounded cross-wiki hints without writing mounts. Use toolPrefix where clients already have generic search/read tools. Keep build-time lexical settings aligned with serving configuration.
The full container guide covers multiple mounts, graphs, skill libraries and a client container. For agents that execute delegated work, follow worker registration and set an advertised workerurl reachable by the main.