Levelrail
Skip to content

Self-host NodeBB with Docker ​

A modern forum platform with real-time discussions, SSO, and a plugin ecosystem, backed by Postgres.

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

Project site: https://docs.nodebb.org/.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
nodebbghcr.io/nodebb/nodebb:latest4567
nodebb_build -> /usr/src/app/build
nodebb_uploads -> /usr/src/app/public/uploads
nodebb_config -> /opt/config
postgrespostgres:16-alpinenone
nodebb_postgres_data -> /var/lib/postgresql/data

Environment variables ​

ServiceVariableValue
nodebbPOSTGRES_PASSWORDGenerated at deploy
postgresPOSTGRES_DBPreset in the template
postgresPOSTGRES_PASSWORDGenerated at deploy
postgresPOSTGRES_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 NodeBB with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy nodebb --name my-nodebb

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

More Communication templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.