Deploy Wiki.js

Open-source Wiki.js 3 wiki with PostgreSQL 18, no default password

Deploy Wiki.js

/wiki/data

/var/lib/postgresql/data

Deploy and Host Wiki.js on Railway

Wiki.js is an open-source wiki and knowledge base built on Node.js and PostgreSQL. Version 3 adds collaborative real-time editing, page approvals, discussions, fine-grained group permissions, many sign-in providers (OAuth2, OIDC, SAML, LDAP) and full-text search, all managed from a web administration area.

About Hosting Wiki.js

Hosting Wiki.js 3 means running its Node.js server next to PostgreSQL 17 or later, which stores pages, users, settings and uploads. This template builds the official Wiki.js 3.4.0 image, pinned by digest, from a public GitHub repo and connects it to Railway PostgreSQL 18 over the private network. A volume keeps Wiki.js's data folder across redeploys, and a health check on /_ready holds traffic until database migrations finish. The first administrator is created on the first start from the email you enter and a generated password. Railway provides HTTPS on a public domain, and you can add your own domain later.

Common Use Cases

  • Internal team documentation, runbooks and onboarding guides
  • A public knowledge base or product documentation site
  • A personal or community wiki with group-based editing rights

Dependencies for Wiki.js Hosting

  • PostgreSQL 17 or later (Railway PostgreSQL 18 is included)
  • A persistent volume for the Wiki.js data folder (included)

Deployment Dependencies

Implementation Details

You only enter ADMIN_EMAIL. After the deploy, open the Wiki.js service's Variables tab to read ADMIN_PASS, sign in at your Railway domain with both, then change the password under your profile. ADMIN_EMAIL and ADMIN_PASS are read only on the first start; later changes to them have no effect.

Mail (SMTP), sign-in providers, storage targets and the site URL are set in Wiki.js under Administration. Updates come from the template repo: each merge to its main branch shows up as an "update available" notice, and its CHANGELOG.md lists what changed.

Why Deploy Wiki.js on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Wiki.js on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Libredesk - Complete Setup
Complete self-hosted omnichannel customer support desk.

codestorm
2
View Template
Paperless-ngx
Paperless-ngx — document management with OCR and full-text search

INAPP
1
View Template
Instatic CMS - Postgres
Design, build and manage powerful static sites from state-of-the-art CMS

Instatic
168