Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:03:16 +00:00
parent cf0ad6f3aa
commit ae306323d9
1857 changed files with 56700 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# 数据库服务 (前置检查) [必填]
PANEL_DB_TYPE=postgresql
# 数据持久化路径 [必填]
HALO_ROOT_PATH=/home/halo
# 访问端口 [必填]
PANEL_APP_PORT_HTTP=8090
# 公网访问地址 [必填]
HALO_EXTERNAL_URL=http://127.0.0.1:8090
# 保持登录时间 [必填]
HALO_REMEMBER_ME_TOKEN_VALIDITY=14d
# 数据库 类型 [必填]
DB_TYPE=postgresql
# 数据库 主机地址 [必填]
DB_HOSTNAME=127.0.0.1
# 数据库 端口 [必填]
DB_PORT=5432
# 数据库 名称 [必填]
DB_NAME=halo
# 数据库 用户名 [必填]
DB_USER=halo
# 数据库 密码 [必填]
DB_USER_PASSWORD=
+103
View File
@@ -0,0 +1,103 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: postgresql
envKey: PANEL_DB_TYPE
labelZh: 数据库服务 (前置检查)
labelEn: Database Service
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- label: MySQL
value: mysql
- label: MariaDB
value: mariadb
- label: Percona
value: percona
- default: "/home/halo"
edit: true
envKey: HALO_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8090
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: 访问端口
labelEn: Port
required: true
rule: paramPort
type: number
- default: "http://127.0.0.1:8090"
edit: true
envKey: HALO_EXTERNAL_URL
labelZh: 公网访问地址
labelEn: External URL
required: true
rule: paramExtUrl
type: text
- default: "14d"
edit: true
envKey: HALO_REMEMBER_ME_TOKEN_VALIDITY
labelZh: 保持登录时间
labelEn: Remember me token validity
required: true
type: text
- default: "postgresql"
edit: true
envKey: DB_TYPE
labelZh: 数据库 类型
labelEn: Database Type
required: true
type: select
values:
- label: PostgreSQL
value: postgresql
- label: MySQL (MariaDB, Percona)
value: mysql
- default: "127.0.0.1"
edit: true
envKey: DB_HOSTNAME
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: DB_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "halo"
edit: true
envKey: DB_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "halo"
edit: true
envKey: DB_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: DB_USER_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password
+23
View File
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
halo:
command:
- --spring.r2dbc.url=r2dbc:pool:${DB_TYPE}://${DB_HOSTNAME}:${DB_PORT}/${DB_NAME}
- --spring.r2dbc.username=${DB_USER}
- --spring.r2dbc.password=${DB_USER_PASSWORD}
- --spring.sql.init.platform=${DB_TYPE}
- --halo.external-url=${HALO_EXTERNAL_URL}
- --halo.security.remember-me.token-validity=${HALO_REMEMBER_ME_TOKEN_VALIDITY}
container_name: halo
image: halohub/halo:2.20.10
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8090
restart: always
volumes:
- ${HALO_ROOT_PATH}/data:/root/.halo2
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+79
View File
@@ -0,0 +1,79 @@
# Halo
**强大易用的开源建站工具。**
配合上丰富的模板与插件,帮助你构建你心中的理想站点。
![Halo](https://file.lifebus.top/imgs/halo_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 简介
> ### 可插拔架构
Halo 采用可插拔架构,功能模块之间耦合度低、灵活性提高。支持用户按需安装、卸载插件,操作便捷。同时提供插件开发接口以确保较高扩展性和可维护性。
✅ 支持在运行时安装和卸载插件
✅ 更加方便地集成三方平台
✅ 统一的可配置设置表单
✅ 支持自定义模型,自动生成 RESTful API
> ### 功能丰富的主题机制
Halo 提供完整的主题模板机制,用于构建前台界面。这意味着用户可以根据自己的喜好选择不同类型的主题模板来定制化自己的站点外观。
✅ 动态切换主题模板
✅ 支持实时编辑和预览效果
✅ 多语言支持
✅ 与插件配合实现更多功能
> ### 编辑器
Halo 的富文本编辑器提供了方便丰富的功能,包括添加标题、段落、引用、列表、代码块等元素,并支持设置样式属性、上传图片、插入视频等功能。这些工具让你的文章创作更加便捷和生动。
✅ 完备的富文本格式支持
✅ 支持拖拽和粘贴图片上传
✅ 支持通过插件扩展编辑器
> 更多特性
>
> 我们将不断探索和追求更好的使用体验,持续迭代出更加优秀的 Halo
+ 代码开源
Halo 的项目代码开源在 GitHub 上且处于积极维护状态,截止目前已经发布了 109 个版本。你也可以在上面提交你的问题或者参与代码贡献。
+ 易于部署
推荐使用 Docker 的方式部署 Halo,便于升级,同时避免了各种环境依赖的问题。统一管理在工作目录中的应用数据也能方便地进行备份和迁移。
+ 插件机制
支持在插件运行时为系统添加新功能,同时保持 Halo 自身的简洁轻量。这种灵活的插件机制让用户根据自身需求自由扩展 Halo
的功能,帮助用户实现富有想象力的站点。
+ 模板机制
支持自定义配置、主题预览、多语言等功能。这种灵活的模板系统让用户可以针对自己的需求进行自定义配置,为网站带来更加个性化的外观和交互体验。
+ 附件管理
支持多种存储策略,并支持通过插件扩展外部存储位置,可以让用户更加灵活地地上传、查看和管理附件。
+ 搜索引擎
内置全文搜索引擎,支持关键字搜索文章和页面内容。同时支持通过插件扩展外部搜索引擎,做到让用户按需选择、自由扩展。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+14
View File
@@ -0,0 +1,14 @@
additionalProperties:
key: halo
name: Halo
tags:
- WebSite
- Local
shortDescZh: 强大易用的开源建站工具
shortDescEn: Powerful and easy-to-use open source website builder
type: website
crossVersionUpdate: true
limit: 0
website: https://halo.run/
github: https://github.com/halo-dev/halo/
document: https://docs.halo.run/
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB