feat:添加halo(postgresql)到列表
This commit is contained in:
parent
c3bb6e3b79
commit
aede0284dd
|
|
@ -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"
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Halo
|
||||||
|
|
||||||
|
**Halo** 是一个简洁、高效的开源建站平台。它提供了易于使用的界面和丰富的功能,使用户可以轻松地创建个人博客或专业网站。
|
||||||
|
|
||||||
|
## 主要功能:
|
||||||
|
|
||||||
|
- **简洁易用**:Halo 的界面设计简洁清晰,使用户能够快速上手并轻松管理网站内容。
|
||||||
|
- **高度可定制**:Halo 提供了丰富的主题和插件系统,用户可以根据自己的需求选择合适的主题和插件,定制网站的外观和功能。
|
||||||
|
- **多媒体支持**:Halo 支持插入和管理多媒体内容,如图片、视频和音频,使网站内容更加丰富和生动。
|
||||||
|
- **SEO 友好**:Halo 内置了优化的 SEO 功能,帮助您提升网站在搜索引擎中的排名,增加曝光和访问量。
|
||||||
|
- **安全可靠**:Halo 针对安全性进行了严格设计和测试,保护网站数据的安全和可靠性。
|
||||||
|
|
||||||
|
## 相关链接:
|
||||||
|
|
||||||
|
- 官网:<https://halo.run>
|
||||||
|
- 应用市场:<https://halo.run/store/apps>
|
||||||
|
- 社区:<https://bbs.halo.run>
|
||||||
|
- GitHub:<https://github.com/halo-dev/halo>
|
||||||
|
|
@ -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/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
Loading…
Reference in New Issue