Wiki.js 3 Self-Host Guide & Woodpecker CI 3.21
Published 2026-11-28Category: Guides
Contabo publishes Wiki.js 3 Docker guide requiring PostgreSQL 17/18 and 1 GB RAM
Table of contents

Introduction & Key Highlights
This edition covers two notable self-hosted service updates. Wiki.js 3 reached stable on November 1, 2026, and Contabo released a complete Docker Compose deployment guide. The hard constraints are PostgreSQL 17 or 18 with ltree and pg_trgm extensions, a minimum of 1 GB RAM, and no in-place upgrade path from 2.x — a fresh migration is mandatory. Woodpecker CI 3.21 shipped the same period, focusing on security hardening (read-only deploy tokens, constant-time token comparison, Fail2Ban-compatible logs) and pipeline capability expansion (matrix axis limit raised from 10 to 64, configurable task lease timeout, Kubernetes backend cleanup improvements, preliminary C# script runner support for the local backend). Both sources are official or authoritative technical blogs, suitable for operators planning to run a knowledge base or lightweight CI/CD on a VPS.
Side-by-Side Parameter & Feature Comparison
| Item | Wiki.js 3 (Contabo Tutorial) | Woodpecker CI 3.21 (Linuxiac) |
|---|---|---|
| Core Positioning | Self-hosted Wiki / knowledge base engine | Lightweight self-hosted CI/CD platform |
| Latest Stable Version | 3.1.0+ (3.0.0/3.0.2 had security fixes) | 3.21 |
| Hard Dependencies | Node.js + PostgreSQL 17/18 (ltree, pg_trgm) | Docker/Kubernetes; Git Forge (Gitea/GitLab/Forgejo/GitHub) |
| Minimum Resource Floor | 1 vCPU / 1 GB RAM / 1 GB disk + upload space | Not disclosed in source |
| Image Size | ghcr.io/requarks/wiki:3 ~850 MB |
Not disclosed in source |
| Upgrade / Migration Path | 2.x cannot upgrade in-place; fresh instance + data import | Rolling upgrade, compatible with existing pipeline configs |
| Key New Features | Monaco editor, real-time collaboration, diagram/feedback/blog/live-notes page types, approval workflows, page expiration tagging, multi-site, built-in MCP server | Read-only deploy tokens, constant-time token compare, matrix axis 64 values, WOODPECKER_TASK_TIMEOUT, K8s resource cleanup, C# script runner, SBOM publishing |
| Security Enhancements | Not disclosed in source | Webhook signature verification hardening, Fail2Ban-compatible auth failure logs, restrict admins to primary Git Forge |
| Deployment Prerequisites | Docker + Compose plugin, domain (HTTPS), pinned image tag | Docker/K8s, Git Forge OAuth/App credentials |
| Risks / Undisclosed Items | Forced PostgreSQL version constraint, migration effort, HTTPS cert self-managed | Exact resource usage, C# runner maturity, K8s backend production readiness |
Deep Dive per Service
Wiki.js 3 Full Self-Host Walkthrough (Contabo)
Wiki.js 3 went stable on November 1, 2026, with Contabo publishing the tutorial simultaneously. The architecture is a full frontend/backend rewrite. The database layer only supports PostgreSQL 17 or 18 with the ltree and pg_trgm extensions enabled; MySQL, MariaDB, SQLite, and older PostgreSQL versions are no longer compatible. Official minimum specs: 1 CPU core, 1 GB RAM, 1 GB base disk (plus upload space). The Docker image ghcr.io/requarks/wiki:3 is approximately 850 MB. The tutorial stresses pinning the image tag (e.g., 3.1.0) to avoid accidental rolling upgrades via latest. Pre-deployment checklist: Docker with Compose plugin installed, a domain for HTTPS (Let’s Encrypt used in the guide), and a ready PostgreSQL connection string. Migration is explicit: 2.x cannot be upgraded in-place; spin up a new 3.x instance and import data per the official migration guide. Security fixes in 3.0.2 and 3.1.0 addressed early stable-release vulnerabilities; production should start at 3.1.0 or newer. The provided docker-compose.yml covers the Wiki service, PostgreSQL service, reverse proxy (Nginx/Caddy) with automatic certificate renewal, and environment variables such as DB_TYPE=postgres, DB_HOST, DB_PORT, DB_USER, DB_PASS, DB_NAME. On a modest VPS the resource pressure is low; the real bottleneck is validating the database version upgrade and migration scripts.
Woodpecker CI 3.21 Security & Feature Enhancements (Linuxiac)
Woodpecker CI 3.21 centers on security hardening. Repository cloning from Gitea and GitLab now uses read-only deploy tokens, minimizing repository access scope. The agent introduces constant-time token comparison and is restricted to updating only steps belonging to its own workflow, preventing lateral privilege escalation. Webhook signature verification logic was refactored; authentication failure logs now emit Fail2Ban-compatible format for edge defense integration. A new option limits administrator privileges to the primary Git Forge scope. On the pipeline side, matrix axis maximum values per axis increased from 10 to 64, dramatically expanding multi-environment parallel test combinations. Queue scheduling shows significant speedups under heavy concurrent group backlogs. Administrators can configure task lease timeout via the WOODPECKER_TASK_TIMEOUT environment variable to prevent stuck tasks from consuming slots. Backend improvements: Kubernetes backend optimizes pod monitoring and workflow resource cleanup, reducing orphaned resources; the local backend adds preliminary C# script runner support, broadening .NET ecosystem self-host scenarios. Git Forge integration details: workflow cancel/skip reporting is more accurate, Forgejo draft PR metadata is supported, and fetching pipeline config directories from GitHub is more efficient. Supply-chain transparency: official releases now publish SBOMs. The source does not disclose concrete resource consumption, C# runner stability level, or K8s backend production-readiness markers, nor does it provide upgrade commands or a compatibility matrix. Read the official changelog and validate in a test environment before upgrading.
Scenario-Based Selection & Pitfall Checklist
- Personal / Team Knowledge Base: Choose Wiki.js 3, but verify the VPS can run PostgreSQL 17/18 (older distros may need an upgrade or containerized Postgres) and reserve 1 GB+ RAM. Do not attempt a 2.x in-place upgrade — deploy fresh 3.x and import data per the official guide.
- Lightweight Self-Hosted CI/CD: Woodpecker 3.21 fits small-to-medium teams, single-node or small K8s clusters. If you run many matrix builds (>10 combinations) or need C# script tasks, this version delivers clear gains. Before upgrading, run the full pipeline suite in a test cluster to confirm agent token and webhook signature logic have no regressions.
- Resource-Constrained VPS (1 Core / 1 GB): Wiki.js 3 sits exactly at the minimum line. Run the database in a co-located container rather than an external managed instance to cut latency and cost. Woodpecker’s resource baseline is unpublished; load-test first before co-locating.
- HTTPS & Domain Preparation: Wiki.js production deployment needs a domain for Let’s Encrypt; self-signed certs work but trigger browser warnings. Woodpecker’s UI exposure likewise benefits from a TLS-terminating reverse proxy.
- Key Pitfalls:
- Wiki.js: Image tag must be explicitly pinned (e.g.,
3.1.0); disablelatest. Missingltree/pg_trgmextensions cause startup failures. Migration scripts on large datasets have unpredictable duration — schedule a maintenance window. - Woodpecker: Read-only deploy tokens require correct permission scopes on the Git Forge side; rotate legacy tokens.
WOODPECKER_TASK_TIMEOUTunit and default are per official docs (not provided in source) — do not set blindly. C# runner is labeled “preliminary support”; do not depend on it for core pipelines yet.
FAQ
Can Wiki.js 3 upgrade directly from 2.x?
No. The project explicitly states 2.x cannot be upgraded in-place to 3.x. You must deploy a brand-new 3.x instance (3.1.0 or newer recommended) and import data following the official migration guide. The database layer also requires migration from MySQL/MariaDB/SQLite/old PostgreSQL to PostgreSQL 17/18 with ltree and pg_trgm extensions enabled.
How much impact does Woodpecker CI 3.21’s matrix axis expansion have on real builds?
Raising the per-axis maximum from 10 to 64 means a single pipeline can parallelize up to 64 environment combinations in one commit (e.g., language versions × operating systems × architectures), significantly reducing total runtime for multi-matrix scenarios. Concurrency ceiling remains bound by agent count and WOODPECKER_TASK_TIMEOUT, so plan resources accordingly.
Is 1 GB RAM enough to run Wiki.js 3 on a VPS?
The official minimum is 1 GB RAM, and Contabo’s tutorial confirms “small VPS resources are fine; the database version is the real constraint.” Practical tip: when running PostgreSQL on the same host, limit the Wiki container to 512–768 MB and the database to 256–512 MB, and enable swap to guard against OOM. For concurrent editing or heavy attachment uploads, upgrade to 2 GB+.
Sources & References
- Contabo Blog: How to Self-Host Wiki.js 3 on a VPS with Docker (2026-11-27)
- Linuxiac: Woodpecker CI 3.21 Enhances Security and Git Forge Integration (2026-11-27)
Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

