VM 102 · Docker Stack
Wiki.js with PostgreSQL deployed as a Docker Compose stack - self-hosted knowledge base accessible externally atwiki.munyakazi.org.
| External URL | https://wiki.munyakazi.org |
| Database | PostgreSQL 15 |
| Image | ghcr.io/requarks/wiki:2 |
| Version | 2.5.314 |
| Status | Live |
Wiki.js is an open-source, database-backed wiki platform built on Node.js. It supports Markdown, rich text, and raw HTML editing, with a clean modern interface, full-text search, and a granular permissions system. This instance serves as the central knowledge base for homelab documentation, project tracking, and professional development notes.
| Wiki.js | DokuWiki | Notion | |
|---|---|---|---|
| Self-hosted | Yes | Yes | No |
| Database-backed | Yes (PostgreSQL) | No (flat files) | No |
| Git sync option | Yes | No | No |
| Modern UI | Yes | Basic | Yes |
| Portfolio relevance | High - real DB + Docker | Low | None |
Wiki.js was chosen over DokuWiki specifically because the PostgreSQL backend demonstrates real database-backed application deployment - a more relevant skill for IT admin and platform roles.
version: "3.8"
services:
wikijs-db:
image: postgres:15
container_name: wikijs-db
restart: unless-stopped
volumes:
- wikijs_db:/var/lib/postgresql/data
environment:
POSTGRES_DB: wikijs
POSTGRES_USER: wikijs
POSTGRES_PASSWORD: [redacted]
networks:
- wikijs_internal
wikijs:
image: ghcr.io/requarks/wiki:2
container_name: wikijs
restart: unless-stopped
ports:
- "3000:3000"
environment:
DB_TYPE: postgres
DB_HOST: wikijs-db
DB_PORT: 5432
DB_NAME: wikijs
DB_USER: wikijs
DB_PASS: [redacted]
depends_on:
- wikijs-db
networks:
- wikijs_internal
- npm_default
volumes:
wikijs_db:
networks:
wikijs_internal:
npm_default:
external: true
Mirrors the Nextcloud isolation pattern:
wikijs-db - isolated on wikijs_internal only, no external exposurewikijs - joins both wikijs_internal (to reach the DB) and npm_default (so NPM can proxy to it)Database is never reachable from the proxy network or the internet.
After deploying the stack, the Wiki.js setup wizard was accessible at http://192.168.86.53:3000. Configuration during setup:
https://wiki.munyakazi.org (public URL, not internal IP - required for correct link generation behind a reverse proxy)General settings:
MunyakaziKnowledge Base - Homelab, Projects & Technical DocumentationOPSTheme:
Rendering modules enabled:
[ ] and [x] as visual checkboxeswiki.munyakazi.org
├── home
└── homelab/
├── tracker
├── vm101-windows-server
└── vm102-docker/
├── overview
├── nextcloud
├── nginx-proxy-manager
├── cloudflare-tunnel
└── wikijs (this page)