增加MIxSpace

This commit is contained in:
2319665062 2024-02-29 00:44:14 +00:00
parent 1e4dd0b416
commit 57e6a21cc7
5 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,25 @@
additionalProperties:
formFields:
- default: 2333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 应用端口
required: true
rule: paramPort
type: number
- default: mixspace
envKey: ALLOWED_ORIGINS
labelEn: Allowed_Origins
labelZh: 允许域名(填写要绑定的域名)
required: true
rule: paramExtUrl
type: text
- default: mixspace
envKey: JWT_SECRET
labelEn: Password
labelZh: JWT密钥
random: true
required: true
rule: paramCommon
type: password

View File

@ -0,0 +1,53 @@
version: '3.8'
services:
app:
container_name: ${CONTAINER_NAME}
image: innei/mx-server:5
command: bash ./docker-run.sh
environment:
- TZ=Asia/Shanghai
- NODE_ENV=production
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- JWT_SECRET=${JWT_SECRET}
volumes:
- ./data/mx-space:/root/.mx-space
ports:
- '${PANEL_APP_PORT_HTTP}:2333'
depends_on:
- mongo
- redis
links:
- mongo
- redis
networks:
- 1panel-network
restart: always
healthcheck:
test: ['CMD', 'curl', '-f', 'http://127.0.0.1:2333/api/v2/ping']
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
labels:
createdBy: "Apps"
mongo:
container_name: mongo
image: mongo
volumes:
- ./data/db:/data/db
networks:
- 1panel-network
restart: always
redis:
image: redis
container_name: redis
networks:
- 1panel-network
restart: always
networks:
1panel-network:
external: true

20
apps/mixspace/README.md Normal file
View File

@ -0,0 +1,20 @@
# MixSpace
Mix Space 是一个一款简洁而不简单的个人博客系统,它够快,够现代。你可以利用它构建一个属于自己的个人空间,记录生活,分享知识。
## 注意事项
在此处你安装的是Mix-Space的后端你还需要参照官方文档中的[前端主题](https://mx-space.js.org/themes
)部分完成前端部署
## 主要功能:
- 支持文本宏Markdown与GFM语法
- 集成个人日记与内置反垃圾评论系统
- xLog集成可把文章同步到去中心化平台并使用其AI摘要
- 内建文件管理与多种通知方式
- 支持自助申请友链并可一键检查其可用性
- 通过计划任务实现包括备份与推送百度在内多种目的
- 支持从 Markdown 导入文章,也支持导出文章为 Markdown
- 动态化配置前端,你可以在后台设置前端的配置
- 项目展示功能,你可以向访客展示你的项目,展现你的技术能力

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

@ -0,0 +1,19 @@
name: MixSpace
tags:
- 建站
title: 开源自部署的个人前后端分离博客系统
type: 建站
description: 开源自部署的个人前后端分离博客系统
additionalProperties:
key: mixspace
name: MixSpace
tags:
- WebSite
shortDescZh: 开源自部署的个人前后端分离博客系统
shortDescEn: Open source self-deployed personal front-end and back-end separation blogging system
type: website
crossVersionUpdate: true
limit: 0
website: https://mx-space.js.org
github: https://github.com/mx-space/core
document: https://mx-space.js.org/docs

BIN
apps/mixspace/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB