diff --git a/apps/halo/2.11.0/.env.sample b/apps/halo/2.11.0/.env.sample new file mode 100644 index 000000000..c40af736f --- /dev/null +++ b/apps/halo/2.11.0/.env.sample @@ -0,0 +1,9 @@ +CONTAINER_NAME="halo" +PANEL_APP_PORT_HTTP="8080" +PANEL_DB_NAME="halo" +POSTGRES_HOST="postgres" +PANEL_DB_USER_PASSWORD="password_xxJdZD" +PANEL_DB_PORT="5432" +PANEL_DB_USER="postgres" +DATA_PATH="./data" +HALO_EXTERNAL_URL="http://localhost:8080" \ No newline at end of file diff --git a/apps/halo/2.11.0/data.yml b/apps/halo/2.11.0/data.yml new file mode 100644 index 000000000..cbfb6f826 --- /dev/null +++ b/apps/halo/2.11.0/data.yml @@ -0,0 +1,65 @@ +additionalProperties: + formFields: + - default: "" + edit: true + envKey: POSTGRES_HOST + key: postgresql + labelEn: Postgres database Service + labelZh: Postgres 数据库服务 + required: true + type: service + - default: "5432" + edit: true + envKey: PANEL_DB_PORT + labelEn: Postgres database Service Port + labelZh: Postgres 数据库服务端口 + required: true + rule: paramPort + type: number + - default: halo + edit: true + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + required: true + rule: paramCommon + type: text + - default: '' + edit: true + envKey: PANEL_DB_USER + labelEn: Postgres User + labelZh: Postgres 数据库用户 + required: true + rule: paramCommon + type: text + - default: '' + edit: true + envKey: PANEL_DB_USER_PASSWORD + labelEn: Postgres Password + labelZh: Postgres 数据库用户密码 + required: true + rule: paramComplexity + type: password + - default: http://localhost:8080 + edit: true + envKey: HALO_EXTERNAL_URL + labelEn: External URL + labelZh: 外部访问地址 + required: true + rule: paramExtUrl + type: text + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data storage folder + labelZh: 数据存放文件夹 + required: true + type: text diff --git a/apps/halo/2.11.0/docker-compose.yml b/apps/halo/2.11.0/docker-compose.yml new file mode 100644 index 000000000..a5767908e --- /dev/null +++ b/apps/halo/2.11.0/docker-compose.yml @@ -0,0 +1,29 @@ +version: '3' +services: + halo: + image: halohub/halo:2.11.0 + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + volumes: + - ${DATA_PATH}:/root/.halo2 + ports: + - ${PANEL_APP_PORT_HTTP}:8090 + healthcheck: + test: [ "CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness" ] + interval: 30s + timeout: 5s + retries: 5 + start_period: 30s + command: + - --spring.r2dbc.url=r2dbc:pool:postgresql://${POSTGRES_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME} + - --spring.r2dbc.username=${PANEL_DB_USER} + - --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD} + - --spring.sql.init.platform=postgresql + - --halo.external-url=${HALO_EXTERNAL_URL} + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/halo/README.md b/apps/halo/README.md new file mode 100644 index 000000000..569a8afdb --- /dev/null +++ b/apps/halo/README.md @@ -0,0 +1,18 @@ +# Halo + +**Halo** 是一个简洁、高效的开源建站平台。它提供了易于使用的界面和丰富的功能,使用户可以轻松地创建个人博客或专业网站。 + +## 主要功能: + +- **简洁易用**:Halo 的界面设计简洁清晰,使用户能够快速上手并轻松管理网站内容。 +- **高度可定制**:Halo 提供了丰富的主题和插件系统,用户可以根据自己的需求选择合适的主题和插件,定制网站的外观和功能。 +- **多媒体支持**:Halo 支持插入和管理多媒体内容,如图片、视频和音频,使网站内容更加丰富和生动。 +- **SEO 友好**:Halo 内置了优化的 SEO 功能,帮助您提升网站在搜索引擎中的排名,增加曝光和访问量。 +- **安全可靠**:Halo 针对安全性进行了严格设计和测试,保护网站数据的安全和可靠性。 + +## 相关链接: + +- 官网: +- 应用市场: +- 社区: +- GitHub: \ No newline at end of file diff --git a/apps/halo/data.yml b/apps/halo/data.yml new file mode 100644 index 000000000..357e489c0 --- /dev/null +++ b/apps/halo/data.yml @@ -0,0 +1,20 @@ +name: Halo +tags: + - 建站 +title: 强大易用的开源建站工具 +type: 建站 +description: 强大易用的开源建站工具 +additionalProperties: + key: halo + name: Halo + tags: + - WebSite + shortDescZh: 强大易用的开源建站工具 + shortDescEn: Powerful and easy-to-use open source website builder + type: website + crossVersionUpdate: true + limit: 0 + recommend: 3 + website: https://halo.run/ + github: https://github.com/halo-dev/halo + document: https://docs.halo.run/ diff --git a/apps/halo/logo.png b/apps/halo/logo.png new file mode 100644 index 000000000..044ab5962 Binary files /dev/null and b/apps/halo/logo.png differ