Levelrail
Skip to content

Self-host Wiki.js with Docker ​

A modern, extensible wiki engine with Markdown, visual editing, and fine-grained page permissions.

This page describes the Levelrail template for Wiki.js (Productivity). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.requarks.io.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
wikijs_db_data -> /var/lib/postgresql/data
wikighcr.io/requarks/wiki:23000none

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
wikiDB_HOSTPreset in the template
wikiDB_NAMEPreset in the template
wikiDB_PASSGenerated at deploy
wikiDB_PORTPreset in the template
wikiDB_TYPEPreset in the template
wikiDB_USERPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Wiki.js with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Wiki.js. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy wikijs --name my-wikijs

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.