Favicon of NodeBB

NodeBB

Create engaging online communities using a mobile-first discussion platform. Enjoy real-time streaming, single sign-on, built-in chat, and robust SEO tools.

Build a dedicated space for real conversations away from the noise of traditional social media. This next-generation discussion platform provides everything needed to cultivate an active, thriving online community. The software adapts to specific needs with flexible deployment options including open-source self-hosting and fully managed cloud plans.

Key benefits include:

  • Mobile-First Design: Deliver a flawless user experience across all devices and screen sizes.
  • Real-Time Streaming: Keep users engaged with instant updates for topics, posts, and notifications.
  • ActivityPub Integration: Connect your community to the wider fediverse, including Mastodon.
  • Advanced Customization: Tailor the look and feel with custom themes and an extensive plugin library.
  • Built-in Chat: Facilitate direct communication with instant messaging capabilities.
  • Robust Security: Ensure user data is protected with native GDPR compliance and role-based permissions.

Directory Structure

nodebb
mongo-data
nodebb-data
uploads
.env
docker-compose.yml

docker-compose.yml

services:
  nodebb:
    image: ghcr.io/nodebb/nodebb
    restart: unless-stopped
    ports:
      - "4567:4567"
    environment:
      - url=http://localhost:4567
      - secret=${NODEBB_SECRET}
      - database=mongo
      - mongo__host=mongo
      - mongo__port=27017
      - mongo__username=${MONGO_USERNAME}
      - mongo__password=${MONGO_PASSWORD}
      - mongo__database=${MONGO_DATABASE}
      - mongo__authSource=admin
      # Admin setup variables (used on first run if config is missing)
      - admin__username=${ADMIN_USERNAME}
      - admin__password=${ADMIN_PASSWORD}
      - admin__email=${ADMIN_EMAIL}
    volumes:
      - ./nodebb-data/uploads:/usr/src/app/public/uploads
    depends_on:
      - mongo

  mongo:
    image: mongo:5.0
    restart: unless-stopped
    command: --wiredTigerCacheSizeGB 0.5
    environment:
      MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
      MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
      MONGO_INITDB_DATABASE: ${MONGO_DATABASE}
    volumes:
      - ./mongo-data:/data/db

.env

NODEBB_SECRET=your_random_secret_string
MONGO_USERNAME=nodebb
MONGO_PASSWORD=your_secure_db_password
MONGO_DATABASE=nodebb
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your_admin_password
ADMIN_EMAIL=admin@example.com

Share:

Ad
Favicon

 

  
 

Similar to NodeBB

Favicon

 

  
  
Favicon

 

  
  
Favicon