1
0
Fork 0

feat: Update the NodeBB package

This commit is contained in:
wanghe-fit2cloud 2025-03-14 14:43:15 +08:00
parent e4203555e7
commit bcb38dee5f
15 changed files with 28 additions and 75 deletions

View File

View File

0
nodebb/4.1.1/data/node_modules/.gitkeep generated vendored Normal file
View File

View File

View File

@ -12,9 +12,8 @@ services:
- ./data/node_modules:/usr/src/app/node_modules
- ./data/uploads:/usr/src/app/public/uploads
- ./data/config:/opt/config
labels:
labels:
createdBy: "Apps"
networks:
1panel-network:
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1001:1001 data

View File

@ -1,14 +1,10 @@
# 介绍
# NodeBB
注:原 Docker 版本已经不再更新,此为 [ghcr](https://github.com/NodeBB/NodeBB/pkgs/container/nodebb) 版Github Container Registry
NodeBB 论坛软件由 Node.js 提供支持,支持 Redis、MongoDB 或 PostgreSQL 数据库。它利用 WebSocket 实现即时互动和实时通知。NodeBB 吸收了现代网络的精华:实时流式讨论、移动响应能力、丰富的 RESTful 读/写 API同时忠实于原始的公告栏/论坛格式 → 分类分层、本地用户账户和异步消息传递。
**NodeBB** 论坛软件由 Node.js 提供支持,支持 Redis、MongoDB 或 PostgreSQL 数据库。它利用 WebSocket 实现即时互动和实时通知。NodeBB 吸收了现代网络的精华:实时流式讨论、移动响应能力、丰富的 RESTful 读/写 API同时忠实于原始的公告栏/论坛格式 → 分类分层、本地用户账户和异步消息传递。
NodeBB 本身包含一个基本功能的 “通用核心”,而其他功能和集成则通过使用第三方插件来实现。
# 配置
容器首次启动后请等待npm模块安装当日志显示出 `Web installer listening on http://0.0.0.0:<您选择的端口>` 时,即可通过网页安装程序进行配置。
> 容器首次启动后请等待 npm 模块安装,当日志显示出 `Web installer listening on http://0.0.0.0:4567` 时,即可通过网页安装程序进行配置。
## 数据库

19
nodebb/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: NodeBB
tags:
- 建站
title: 基于 Node.js 的现代化论坛程序
description: 基于 Node.js 的现代化论坛程序
additionalProperties:
key: nodebb
name: NodeBB
tags:
- Website
shortDescZh: 基于 Node.js 的现代化论坛程序
shortDescEn: Node.js based forum software built for the modern web
type: website
crossVersionUpdate: true
limit: 0
recommend: 10
website: https://nodebb.org
github: https://github.com/NodeBB/NodeBB
document: https://docs.nodebb.org

View File

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@ -1,20 +0,0 @@
services:
nodebb:
image: ghcr.io/nodebb/nodebb:4.1.0
container_name: ${CONTAINER_NAME}
restart: unless-stopped
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4567"
volumes:
- ./data/build:/usr/src/app/build
- ./data/node_modules:/usr/src/app/node_modules
- ./data/uploads:/usr/src/app/public/uploads
- ./data/config:/opt/config
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,8 +0,0 @@
#!/bin/bash
mkdir -p data/build
mkdir -p data/node_modules
mkdir -p data/uploads
mkdir -p data/config
chmod -R 777 data

View File

@ -1,10 +0,0 @@
additionalProperties:
formFields:
- default: 4567
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@ -1,8 +0,0 @@
#!/bin/bash
mkdir -p data/build
mkdir -p data/node_modules
mkdir -p data/uploads
mkdir -p data/config
chmod -R 777 data

View File

@ -1,18 +0,0 @@
name: NodeBB - GHCR
tags:
- 建站
title: 基于 Node.js 的现代化论坛程序GHCR版本
description: 基于 Node.js 的现代化论坛程序GHCR版本
additionalProperties:
key: nodebb_ghcr
name: NodeBB - GHCR
tags:
- Website
shortDescZh: 基于 Node.js 的现代化论坛程序GHCR版本
shortDescEn: Open source Forum Powered by Node.js(GHCR Version)
type: website
crossVersionUpdate: true
limit: 0
website: https://nodebb.org
github: https://github.com/NodeBB/NodeBB
document: https://docs.nodebb.org