Wiki.js
Write and share wiki pages with Wiki.js and its API.
- app
- document
- stack
Run it
briq run wikibriq_run({ recipe: "wiki", wait: true })curl -X POST https://api.briq.cloud/v1/briqs \
-H "Authorization: Bearer $BRIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipe": "wiki",
"wait": true
}'
# → { "briqs": [{ "id": "bq_…", … }], "outputs": { "WIKI_URL": "…" }, … }
# ... when done, for each briq id
curl -X DELETE https://api.briq.cloud/v1/briqs/<id> \
-H "Authorization: Bearer $BRIQ_API_KEY"stack: app
services:
wiki:
recipe: wiki
# its defaults, each a field you can set:
# image: requarks/wiki:2
# size: smallFields
| Name | Type | Options | Default |
|---|---|---|---|
| image | string | — | "requarks/wiki:2" |
| env | record | { key: string | { secret, value?, literal?, scope?, hosts?, locations? } } | {} |
| cmd | string | string[] | — | — |
| size | enum | small, medium | "small" |
| files | record | { key: string | { base64 } } | — |
| egress | object | { hosts } | — |
Outputs
Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.
- WIKI_URL
- http://wiki.<stack>.internal:3000
What it runs
| Briq | Image | Ports | Size | Volume |
|---|---|---|---|---|
| postgres | postgres:16 | 5432 | nano | 2 GB at /var/lib/postgresql/data |
| wiki | requarks/wiki:2 | 3000 | small | — |
When to use it
- Your repo has grown NOTES.md and one-off write-ups that nobody opens.
- The agent should write up an incident, a decision or a runbook as a page with a URL.
- You want to send a link to a page with search and history, not a markdown diff.
Two briqs: wiki serves it, postgres stores it.
Tips
- Expose only
wiki:briq_run({ recipe: "wiki", expose: "private" }). - Create the admin account in the UI on the first visit, then an API token in the admin area.
- The agent writes pages through the GraphQL API with that token.
- Content survives stops, so keep the briqs between sessions.
- Many pages and uploads: the database volume is 2 GB. For more, declare the two services yourself in a stack file, with the volume you need; it counts toward your plan's disk.