Files
Juan DenisandClaude Fable 5 586f556b93 Reference template icons through the serverkit.ai proxy
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 21:28:14 -04:00

108 lines
2.8 KiB
YAML

id: nodebb
name: NodeBB
version: "1.0"
description: Modern, real-time forum and community platform built on Node.js.
icon: https://serverkit.ai/imgs/template-icons/nodebb.svg
website: https://nodebb.org
documentation: https://docs.nodebb.org
categories:
- community
- forum
- business
variables:
- name: HTTP_PORT
description: Port for the NodeBB web UI (auto-assigned)
type: port
default: "4567"
hidden: true
- name: ADMIN_USERNAME
description: Default admin username
type: string
default: "admin"
- name: ADMIN_PASSWORD
description: Default admin password (auto-generated)
type: password
length: 24
- name: DB_PASSWORD
description: PostgreSQL password (auto-generated)
type: password
length: 32
hidden: true
ports:
- port: "${HTTP_PORT}"
protocol: http
description: NodeBB Web UI
requirements:
memory: 1GB
storage: 2GB
compose:
services:
nodebb:
image: ghcr.io/nodebb/nodebb:latest
container_name: ${APP_NAME}
restart: unless-stopped
ports:
- "${HTTP_PORT}:4567"
environment:
NODEBB_URL: "http://localhost:${HTTP_PORT}"
NODEBB_DB: "postgres"
NODEBB_DB_HOST: "db"
NODEBB_DB_PORT: "5432"
NODEBB_DB_NAME: "nodebb"
NODEBB_DB_USER: "nodebb"
NODEBB_DB_PASSWORD: "${DB_PASSWORD}"
NODEBB_ADMIN_USERNAME: "${ADMIN_USERNAME}"
NODEBB_ADMIN_PASSWORD: "${ADMIN_PASSWORD}"
NODEBB_ADMIN_EMAIL: "admin@example.com"
volumes:
- nodebb-uploads:/usr/src/app/public/uploads
- nodebb-config:/usr/src/app/config
depends_on:
- db
healthcheck:
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/4567' || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
db:
image: postgres:16-alpine
container_name: ${APP_NAME}-db
restart: unless-stopped
environment:
POSTGRES_DB: nodebb
POSTGRES_USER: nodebb
POSTGRES_PASSWORD: "${DB_PASSWORD}"
volumes:
- nodebb-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U nodebb -d nodebb"]
interval: 10s
timeout: 5s
retries: 5
volumes:
nodebb-uploads:
nodebb-config:
nodebb-db:
post_install: |
NodeBB is installed and running!
- Web UI: http://your-server:${HTTP_PORT}
- Username: ${ADMIN_USERNAME}
- Password: ${ADMIN_PASSWORD}
On first start, open the URL and complete the web installer if
prompted. If the installer appears, point it at the PostgreSQL
database (host "db", port 5432, name "nodebb", user "nodebb") and
create the administrator account.
Once setup finishes, sign in with the credentials above and manage
your community from the Admin Control Panel.