SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
NodeBB logo

NodeBB

GPL-3.0 Docker Ready ★ 15,252 Stars Active · 2026-11-28

Forum software built for the modern web. , Source Code.

Category
Communication - Social Networks and Forums
Tech Stack / Runtime
Nodejs/Docker · JavaScript
Open-Source License
GPL-3.0
GitHub Health
★ 15,252 · 2,999 forks
#nodebb#javascript#redis#forum#node

Commercial SaaS Replaced

Head-to-Head Comparisons

Official docker-compose.yml

Quick Docker Compose Reference for NodeBB

services:
  nodebb:
    build: .
    # image: ghcr.io/nodebb/nodebb:latest
    restart: unless-stopped
    ports:
      - '4567:4567' # comment this out if you don't want to expose NodeBB to the host, or change the first number to any port you want
    volumes:
      - nodebb-build:/usr/src/app/build
      - nodebb-uploads:/usr/src/app/public/uploads
      - nodebb-config:/opt/config
      - ./install/docker/setup.json:/usr/src/app/setup.json

  mongo:
    image: 'mongo:7-jammy'
    restart: unless-stopped
    ports:
      - '27017:27017'
    environment:
      MONGO_INITDB_ROOT_USERNAME: nodebb
      MONGO_INITDB_ROOT_PASSWORD: nodebb
      MONGO_INITDB_DATABASE: nodebb
    volumes:
      - mongo-data:/data/db
      - ./install/docker/mongodb-user-init.js:/docker-entrypoint-initdb.d/user-init.js
  redis:
    image: redis:8.10.1-alpine
    restart: unless-stopped
    command: ['redis-server', '--appendonly', 'yes', '--loglevel', 'warning']
    # command: ['redis-server', '--save', '60', '1', '--loglevel', 'warning'] # uncomment if you want to use snapshotting instead of AOF
    volumes:
      - redis-data:/data
    profiles:
      - redis

  postgres:
    image: postgres:18.6-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: nodebb
      POSTGRES_PASSWORD: nodebb
      POSTGRES_DB: nodebb
    volumes:
      - postgres-data:/var/lib/postgresql/data
    profiles:
      - postgres

volumes:
  mongo-data:
    driver: local
    driver_opts:
      o: bind
      type: none
      device: ./.docker/database/mongo/data

  redis-data:
    driver: local
    driver_opts:
      o: bind
      type: none
      device: ./.docker/database/redis

  postgres-data:
    driver: local
    driver_opts:
      o: bind
      type: none
      device: ./.docker/database/postgresql/data

  nodebb-build:
    driver: local
    driver_opts:
      o: bind
      type: none
      device: ./.docker/build

  nodebb-uploads:
    driver: local
    driver_opts:
      o: bind
      type: none
      device: ./.docker/public/uploads

  nodebb-config:
    driver: local
# ... (see full file in official GitHub repository)

NodeBB System Requirements & Self-Hosting Guide

Deploy NodeBB (4 GB+ RAM) →

Recommended VPS

4 GB+ RAM

2 – 4 vCPU · $6 – $12/mo VPS

Deployment Method

Intermediate

Docker / Docker Compose (Recommended)

Commercial Use (GPL-3.0)

Yes — free to self-host commercially for your team without per-seat fees.

Maintenance Status

Active

Last commit: 2026-11-28

Frequently Asked Questions about NodeBB

Is NodeBB free to self-host for commercial use?

NodeBB is released under the GPL-3.0 license. Yes — free to self-host commercially for your team without per-seat fees. It has 15,252 GitHub stars and was last updated on 2026-11-28.

What VPS specifications do I need to self-host NodeBB?

Based on its Nodejs/Docker runtime and Communication - Social Networks and Forums workload, we recommend at least 4 GB+ RAM and 2 – 4 vCPU (typically $6 – $12/mo VPS).

Does NodeBB support Docker deployment?

Yes — NodeBB supports Docker / Docker Compose (Recommended), making it intermediate to spin up on any Linux VPS.

More Open-Source Communication - Social Networks and Forums

View all →
★ 48.1k Docker

Advanced forum / community solution based on Ruby and JS. , Source Code.

Replaces: Reddit / Circle
GPL-2.0 Docker
Details →
★ 16.4k

Delightfully simple forums. Next-generation forum software that makes online discussion fun again. .

Replaces: Reddit / Circle
★ 15.7k Docker

Knowledge-based community software. You can use it to quickly build your Q&A community for product technical support, customer support, user communication, and more. .

Replaces: Disqus
Apache-2.0 Docker/Go
Details →
★ 14.7k Docker

Link aggregator for the fediverse (alternative to Reddit). ).

Replaces: Reddit / Circle
AGPL-3.0 Docker/Rust
Details →