VPSFolio

Comparisons · Wikis & Docs · 2026-11-24

Wiki.js vs Docmost: Measured RAM (128.4 vs 372.7 MB) & Docker Ops

Sandbox Docker Compose comparison of Wiki.js (128.4 MB, 2 containers) and Docmost (372.7 MB, 3 containers): NestJS vs Node.js RAM, ops, and VPS tiers.

Measured side-by-side · Sandbox Docker Compose 2.9× idle RAM difference

Wiki.js

requarks/wiki
Lighter RAM
Idle RAM
128.4 MB
Containers
2
Startup
92.0 s
VPS tier
1 GB VPS
Container breakdown
  • wiki 89.0 MB
  • db 39.4 MB

Docmost

docmost/docmost
Idle RAM
372.7 MB
Containers
3
Startup
63.7 s
VPS tier
2 GB VPS
Container breakdown
  • docmost 301.8 MB
  • db 56.2 MB
  • redis 14.6 MB
Bottom line

Pick Wiki.js if you want Git sync, granular ACLs, and a 2-container stack that fits a 1 GB VPS (128.4 MB). Pick Docmost on a 2 GB+ VPS (372.7 MB, 3 containers) if you want Notion-style spaces, comments, and built-in Draw.io/Excalidraw/Mermaid diagrams.

Wiki.js and Docmost solve the same core problem — self-hosted team and personal documentation — using JavaScript runtimes backed by PostgreSQL. On a small VPS, however, their memory curves cross our tier boundary.

In our verified Docker Compose runs, Docmost used 2.9× as much idle memory as Wiki.js (372.7 MB across three containers vs 128.4 MB across two containers), a 244.3 MB difference before anyone creates a page. That pushes Docmost past our 350 MB ceiling for a 1 GB VPS and into the 2 GB tier, while Wiki.js stays comfortably co-hostable on a 1 GB box.

Why the 2.9× RAM gap exists

The per-container breakdown shows that Redis and PostgreSQL account for only a small slice of the difference — the application container itself drives the gap:

  • Wiki.js (128.4 MB total) runs two containers: wiki (requarks/wiki:2, bundling Node.js 26 and extensions) at 89.0 MB, and db (postgres:17-alpine) at 39.4 MB. There is no Redis container and no separate worker process.
  • Docmost (372.7 MB total) runs three containers: docmost (docmost/docmost:latest, a NestJS backend with a React frontend) at 301.8 MB, db (postgres:18) at 56.2 MB, and redis (redis:8 with AOF enabled) at 14.6 MB.

Look at the app containers alone: docmost (301.8 MB, or 81.0% of its stack total) consumes 3.4× the RAM of wiki (89.0 MB) and more than 2.3× the entire Wiki.js stack combined. Supporting infrastructure in Docmost (postgres:18 at 56.2 MB plus redis:8 at 14.6 MB, or 70.8 MB combined) represents just 19.0% of the stack; adding Redis costs only 14.6 MB, and full postgres:18 adds 16.8 MB over postgres:17-alpine.

Cold-start times inverted the memory ranking in our sandbox (which includes image pull): Docmost reached HTTP 200 on port 3000 in 63.7 s, while Wiki.js took 92.0 s — largely because requarks/wiki:2 is an ~850 MB image.

Day-2 operations: extensions, migrations, and backups

Both stacks bind HTTP/WebSocket traffic to 127.0.0.1:3000, require WebSocket upgrades through your reverse proxy for real-time collaboration, and store uploads in a dedicated named volume alongside PostgreSQL. The operational gotchas differ sharply:

Operational factor Wiki.js Docmost
Containers to monitor 2 (wiki, db) 3 (docmost, db, redis)
Verified images requarks/wiki:2, postgres:17-alpine docmost/docmost:latest, postgres:18, redis:8
Published host port 127.0.0.1:3000 (WebSocket /_collab) 127.0.0.1:3000 (WebSocket collaboration)
Named volumes 2 (wiki_db, wiki_data at /wiki/data) 3 (db_data, docmost at /app/data/storage, redis_data)
Required secrets / config DB_PASSWORD (+ DB_USER, DB_NAME) APP_SECRET (32+ chars), APP_URL, DB_PASSWORD
Database prerequisites Postgres 17/18 with ltree and pg_trgm extensions Official postgres:18 (mounts /var/lib/postgresql)
First-run admin setup Setup wizard via SSH tunnel; then enable proxy header trust Auto-migrations; first user to sign up at APP_URL is owner
Backup workflow pg_dump + tar /wiki/data pg_dump + tar /app/data/storage (redis_data is cache)

Four maintenance details stand out from the verified setups:

  • URL and proxy constraints: Wiki.js explicitly forbids sub-folder installs (/wiki/) — it requires a dedicated hostname, plus enabling Trust X-Forwarded- Proxy Headers* under Administration Area → Security after first login. Docmost requires APP_URL to match the public HTTPS URL including scheme, or links and WebSocket sessions fail. Default upload limits also differ: 10 MB on Wiki.js (uploadMaxFileSize) vs 50mb on Docmost (FILE_UPLOAD_SIZE_LIMIT), so size your proxy body limit accordingly.
  • Database extensions and upgrades: Wiki.js requires PostgreSQL 17 or 18 with ltree and pg_trgm installed; moving to a managed database without them causes migration failures. Docmost runs schema migrations automatically on container startup, meaning skipping versions or rolling back an image without restoring a pg_dump can break the schema.
  • Outbound firewall rules: Wiki.js requires outbound HTTPS (port 443) to api.github.com, github.com, and api.iconify.design for update checks, locales, and icon sets. Blocking them silently breaks updates and leaves the icon picker empty.
  • Storage growth controls: Docmost exposes PAGE_HISTORY_INTERVAL (default 5m) and FILE_UPLOAD_SIZE_LIMIT (default 50mb). Lowering the history interval increases database writes, and unmonitored attachments grow the docmost volume quickly.

Product scope: Git-backed wiki vs collaborative workspace

Docmost’s extra 244.3 MB of idle RAM buys a more modern collaborative editor and workspace model:

  • Wiki.js excels as an engineering knowledge base: Markdown editing, native Git sync, granular ACLs, and a plugin system for authentication providers and external storage backends, plus real-time collaboration on /_collab.
  • Docmost behaves like a self-hosted Confluence or Notion workspace: hierarchical spaces, inline comments, permissions, automatic page-history snapshots, embeds, file attachments, and built-in diagramming with Draw.io, Excalidraw, and Mermaid — backed by Redis (--appendonly yes --maxmemory-policy noeviction) for caching and real-time sync.

VPS sizing and co-hosting impact

  • On a 1 GB VPS: Wiki.js (128.4 MB idle) fits comfortably inside our 1 GB VPS tier (≤ 350 MB idle). You can co-host it with Caddy and lightweight tools such as Vaultwarden (7.1 MB), Memos (18.5 MB), and Miniflux (43.8 MB) while keeping total app idle RAM under 200 MB — though note Wiki.js’s upstream docs still recommend at least 1 GB host RAM and 1 GB free disk for the ~850 MB image and background workers. Docmost (372.7 MB idle) crosses our 350 MB ceiling and should not be squeezed onto a 1 GB box alongside other services, especially once concurrent editors and 50 MB uploads come into play.
  • On a 2 GB VPS: Docmost fits cleanly in our 2 GB VPS tier (351–900 MB idle) with ample margin for NestJS spikes, Postgres growth, Redis, and companion utilities. Wiki.js on a 2 GB VPS leaves most of the machine free for heavier tools like Gitea (197.9 MB) or Umami (212.3 MB).

Compare all 20 verified stacks on our measured RAM leaderboard.

Which one should you self-host?

Choose Wiki.js if:

  • You want Git-backed Markdown documentation, granular ACLs, or pluggable auth/storage modules.
  • You are deploying on a 1 GB VPS and need an idle footprint well below 200 MB (128.4 MB, 2 containers, no Redis).
  • You want a simpler two-container Postgres stack without managing Redis AOF persistence.
  • Ready to deploy? Follow our Wiki.js Docker Compose guide.

Choose Docmost if:

  • You want a real-time collaborative workspace with spaces, comments, page history, and built-in Draw.io, Excalidraw, and Mermaid diagrams.
  • You have a 2 GB+ VPS that easily absorbs a 372.7 MB idle footprint across docmost, postgres:18, and redis:8.
  • You prefer automatic startup migrations and zero manual reverse-proxy header toggles inside an admin panel.
  • Ready to deploy? Follow our Docmost Docker Compose guide.