feat: Update the NodeBB package
This commit is contained in:
parent
e4203555e7
commit
bcb38dee5f
|
|
@ -12,9 +12,8 @@ services:
|
||||||
- ./data/node_modules:/usr/src/app/node_modules
|
- ./data/node_modules:/usr/src/app/node_modules
|
||||||
- ./data/uploads:/usr/src/app/public/uploads
|
- ./data/uploads:/usr/src/app/public/uploads
|
||||||
- ./data/config:/opt/config
|
- ./data/config:/opt/config
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
networks:
|
1panel-network:
|
||||||
1panel-network:
|
|
||||||
external: true
|
external: true
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1001:1001 data
|
||||||
|
|
@ -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 本身包含一个基本功能的 “通用核心”,而其他功能和集成则通过使用第三方插件来实现。
|
NodeBB 本身包含一个基本功能的 “通用核心”,而其他功能和集成则通过使用第三方插件来实现。
|
||||||
|
|
||||||
# 配置
|
> 容器首次启动后请等待 npm 模块安装,当日志显示出 `Web installer listening on http://0.0.0.0:4567` 时,即可通过网页安装程序进行配置。
|
||||||
|
|
||||||
容器首次启动后请等待npm模块安装,当日志显示出 `Web installer listening on http://0.0.0.0:<您选择的端口>` 时,即可通过网页安装程序进行配置。
|
|
||||||
|
|
||||||
## 数据库
|
## 数据库
|
||||||
|
|
||||||
|
|
@ -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
|
||||||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
additionalProperties:
|
|
||||||
formFields:
|
|
||||||
- default: 4567
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
|
||||||
labelEn: Port
|
|
||||||
labelZh: 端口
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Reference in New Issue