增加NodeBB

This commit is contained in:
2319665062 2024-03-01 01:19:54 +00:00
parent 26446f386a
commit cf2ee00de9
6 changed files with 80 additions and 3 deletions

View File

@ -1,15 +1,15 @@
name: MixSpace name: MixSpace
tags: tags:
- 建站 - 建站
title: 开源自部署个人前后端分离博客系统 title: 开源自部署个人前后端分离博客系统
type: 建站 type: 建站
description: 开源自部署个人前后端分离博客系统 description: 开源自部署个人前后端分离博客系统
additionalProperties: additionalProperties:
key: mixspace key: mixspace
name: MixSpace name: MixSpace
tags: tags:
- WebSite - WebSite
shortDescZh: 开源自部署个人前后端分离博客系统 shortDescZh: 开源自部署个人前后端分离博客系统
shortDescEn: Open source self-deployed personal front-end and back-end separation blogging system shortDescEn: Open source self-deployed personal front-end and back-end separation blogging system
type: website type: website
crossVersionUpdate: true crossVersionUpdate: true

19
apps/nodebb/README.md Normal file
View File

@ -0,0 +1,19 @@
# 介绍
NodeBB 是一款由Node.js开发的、开源的、现代化的论坛程序
## 所使用docker镜像相关:
> 项目链接
>> - https://hub.docker.com/r/elestio/nodebb
>> - https://github.com/elestio-examples/nodebb
## 数据库连接问题
需要新建数据库再进行安装
本机`PostgreSQL`数据库连接信息,具体查看面板数据库页面来获取,例如
```
PostgreSQL:5432
```

19
apps/nodebb/data.yml Normal file
View File

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

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 4567
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 应用端口
required: true
rule: paramPort
type: number
- default: example.com
envKey: DOMAIN
labelEn: Allowed_Origins
labelZh: 绑定域名
required: true
rule: paramExtUrl
type: text

View File

@ -0,0 +1,22 @@
version: "3.3"
services:
nodebb:
container_name: ${CONTAINER_NAME}
ports:
- "${PANEL_APP_PORT_HTTP}:4567"
user: 0:0
image: elestio/nodebb:latest
restart: always
networks:
- 1panel-network
environment:
URL: "https://${DOMAIN}"
volumes:
- ./nodebb-files:/usr/src/app/public/uploads
# - ./nodebb-config/config.json:/usr/src/app/config.json
- ./entrypoint.sh:/usr/src/app/entrypoint.sh
networks:
1panel-network:
external: true

BIN
apps/nodebb/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB