Self-Host Forgejo Git & LLM Wiki v2 AI Knowledge Base
Published 2026-11-28Category: Guides
Deploy Forgejo Git hosting on Contabo VPS (8/12/24 GB tiers) and LLM Wiki v2 for document-to-Markdown AI knowledge base with Ollama/OpenRouter
Table of contents

Introduction & Key Highlights
This edition covers two high-demand self-hosting scenarios: code hosting and document intelligence. The Contabo blog provides a complete Forgejo deployment path on a VPS with three memory tiers — 8 GB, 12 GB, and 24 GB — mapped to team sizes and including 24-month VAT-inclusive pricing. Noted.lol introduces LLM Wiki v2, which automatically converts heterogeneous documents (PDF, Office, etc.) into readable Markdown knowledge bases, supports Ollama, OpenRouter, and other model backends, and exposes an MCP interface for AI toolchain integration. Both solutions use single-node Docker Compose orchestration and can be online in roughly ten minutes, suiting small-to-mid development teams or individual developers who prioritize data sovereignty and predictable budgets.
Side-by-Side Parameter & Feature Comparison
| Dimension | Forgejo (Contabo Tutorial) | LLM Wiki v2 (Noted.lol) |
|---|---|---|
| Core Positioning | Community-governed lightweight Git code hosting (Issues/PR/CI/package registry) | Document auto-archival, vector retrieval, and natural-language Q&A knowledge base |
| Deployment Method | Docker Compose (reverse proxy, SSH, backup included) | Docker Compose or Python 3.11+ direct install |
| Resource Recommendations | Solo 8 GB / Small team 12 GB / Large team 24 GB (Contabo Cloud VPS 4/6/8 plans) | Not disclosed in source; only mentions web default port 8000 |
| Database | Default SQLite; PostgreSQL recommended for large scale | Not disclosed; Markdown files stored on disk can be Git-versioned directly |
| Model Backends | No built-in AI; CI via Forgejo Actions or external runners | Ollama, OpenRouter, OpenAI, Gemini-compatible endpoints |
| Standout Features | Single Go binary, non-profit community governance, native package registry | CROW classifier reduces LLM calls, visual knowledge graph, MCP persistent memory |
| Potential Risks | CI and large repos on same instance significantly increase memory pressure; storage expansion must be planned separately | Vector index and model inference VRAM usage not disclosed; production requires self-testing |
Deep Dive: Item by Item
Forgejo Self-Hosted Git Hosting End-to-End
The Contabo tutorial adopts a “ten minutes to live” tone covering installation, SSH exposure, reverse proxy, and backup in four steps. Plan parameters directly reference the contabo.com/pricing page dated 2026-11-27 (24-month term, VAT included): Cloud VPS 4 (8 GB), Cloud VPS 6 (12 GB), Cloud VPS 8 (24 GB), mapping to three personas — solo/family (≤50 repos), small team with external CI runners (hundreds of repos), and large team with large LFS/packages (massive repo counts). In practice, Docker Compose runs SQLite by default; if concurrency or data volume is expected to grow, add a PostgreSQL service in compose and mount a dedicated volume. SSH port mapping must be allowed in both host firewall and cloud provider security groups; the reverse proxy example uses Caddy for automatic TLS. Backup strategy combines docker exec database dump with rsync volume sync, but no cron template is provided — users must add scheduled tasks themselves. On limitations, the tutorial explicitly warns that “disk grows with repos/LFS/packages; plan storage over CPU,” and that CI running on the same instance significantly raises memory pressure — production should separate runners.
LLM Wiki v2 Document Intelligence Knowledge Base
Noted.lol’s LLM Wiki v2 core selling point is “leaving readable Markdown,” not just a vector store. Two deployment paths: git clone, rename .env.example to .env, run docker compose up -d; or Python 3.11+ virtual environment direct run (specific pip install command not disclosed in source). Web UI defaults to port 8000, offering upload, search, folder browsing, and model configuration; CLI and HTTP API are also exposed for integration. The CROW architecture uses a lightweight classifier to decide archival paths, invoking the large model only on note write/update, aiming to control inference cost as corpus grows. Model backends compatible with Ollama (local), OpenRouter, OpenAI, Gemini, and other OpenAI-compatible endpoints. MCP integration provides persistent knowledge and memory for AI coding tools. On storage, all notes land as plain Markdown files, ready for git init version control or rsync off-site backup. Source does not disclose minimum RAM/VRAM thresholds, vector index storage estimates, multi-user auth details, or production-grade reverse proxy/TLS examples — benchmark before production deployment.
Scenario-Based Selection & Pitfall Checklist
- Primary code hosting, occasional light CI: Choose Forgejo + Cloud VPS 4 (8 GB); move CI runners to a separate cheap instance to avoid memory contention.
- Team ≤10, repos with large binaries/LFS: Step up to Cloud VPS 6 (12 GB) with additional block storage, switch database to PostgreSQL, add backup script to cron.
- Document archival + semantic Q&A, data must stay on-prem: LLM Wiki v2 + Ollama local model (e.g., llama3.1:8b), start with at least 16 GB system RAM + 8 GB VRAM; run full-corpus load test to measure vector store size before production.
- Need long-term memory for AI coding tools: Enable LLM Wiki v2 MCP endpoint; explicitly set
MCP_ENABLED=trueand model context window in.envto prevent context truncation. - Pitfalls: Before Forgejo upgrade, always
docker compose pulland back up data volumes; switching models in LLM Wiki v2 requires index rebuild (no command given in source — consult official docs); neither stack includes built-in monitoring — add Prometheus Node Exporter + cAdvisor for resource alerts.
FAQ
Is migration cost high between Forgejo and Gitea?
They share an early codebase; database schema was highly compatible before the fork. The Contabo tutorial notes “actual differences are so small you’ll spend more time on backups.” Recommend testing first in a staging environment: gitea dump export, then forgejo migrate verify, before deciding on production cutover.
Can LLM Wiki v2 run fully offline locally?
Yes. Point .env to a local Ollama endpoint (OLLAMA_BASE_URL=http://host.docker.internal:11434) and pull the model; the full pipeline works without internet. However, initial model weight download and vector index build still require bandwidth and compute; source provides no specific time or VRAM benchmarks.
Can both services share a single VPS?
Theoretically feasible, but Forgejo and LLM Wiki v2 Docker Compose networks must be isolated, with a reverse proxy routing by domain/path. Memory recommendation ≥32 GB (Forgejo 12 GB + LLM Wiki 16 GB+), and each data volume needs dedicated disk quota to avoid I/O contention causing latency spikes. Source provides no co-deployment benchmarks — load-test thoroughly before production.
Sources & References
- Contabo Blog: How to Self-Host Forgejo on a VPS with Docker (2026-11-27)
- Noted.lol: LLM Wiki v2 Turns Your Documents Into a Self-Hosted AI Knowledge Base (2026-11-27)
Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

