
Deploy wiki.js on Your Own Server
The most powerful and extensible open source Wiki software
Want to deploy wiki.js on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is wiki.js?
Wiki.js is a fully open source, adaptable platform for building and running a Wiki.
Self-Host wiki.js
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Deploy
Copy the configuration and run it on your server.
services:
wiki_js:
image: requarks/wiki:2.5
environment:
DB_HOST: wiki_js-postgres
DB_NAME: wiki
DB_PASS: daTaBaSePaSsWorD
DB_PORT: "5432"
DB_TYPE: postgres
DB_USER: wikijs
wiki_js-postgres:
image: postgres:14.1-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: daTaBaSePaSsWorD
POSTGRES_USER: wikijs
volumes:
- wiki_js-db-data:/var/lib/postgresql/data
volumes:
wiki_js-db-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host wiki.js?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
requarks/wiki:${version}Official Docs
docs.requarks.ioWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"