mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-03-24 03:21:20 +08:00
feat: 增加 Halo v2.4.1 版本 (#18)
This commit is contained in:
parent
cdeb4f59da
commit
3af7090d84
45
apps/halo/versions/2.4.1/README.md
Normal file
45
apps/halo/versions/2.4.1/README.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
------------------------------
|
||||||
|
|
||||||
|
## 快速开始
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run \
|
||||||
|
-it -d \
|
||||||
|
--name halo \
|
||||||
|
-p 8090:8090 \
|
||||||
|
-v ~/.halo2:/root/.halo2 \
|
||||||
|
halohub/halo:2.2 \
|
||||||
|
--halo.external-url=http://localhost:8090/ \
|
||||||
|
--halo.security.initializer.superadminusername=admin \
|
||||||
|
--halo.security.initializer.superadminpassword=P@88w0rd
|
||||||
|
```
|
||||||
|
|
||||||
|
以上仅作为体验使用,详细部署文档请查阅:<https://docs.halo.run/getting-started/install/docker-compose>
|
||||||
|
|
||||||
|
## 在线体验
|
||||||
|
|
||||||
|
- 环境地址:<https://demo.halo.run>
|
||||||
|
- 后台地址:<https://demo.halo.run/console>
|
||||||
|
- 用户名:`demo`
|
||||||
|
- 密码:`P@ssw0rd123..`
|
||||||
|
|
||||||
|
## 生态
|
||||||
|
|
||||||
|
可访问 [awesome-halo](https://github.com/halo-sigs/awesome-halo) 查看已经适用于 Halo 2.0 的主题和插件,以及适用于 Halo
|
||||||
|
1.x 的相关仓库。
|
||||||
|
|
||||||
|
## 许可证
|
||||||
|
|
||||||
|
[](https://github.com/halo-dev/halo/blob/master/LICENSE)
|
||||||
|
|
||||||
|
Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。
|
||||||
|
|
||||||
|
## 贡献
|
||||||
|
|
||||||
|
参考 [CONTRIBUTING](https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md)。
|
||||||
|
|
||||||
|
<a href="https://github.com/halo-dev/halo/graphs/contributors"><img src="https://opencollective.com/halo/contributors.svg?width=890&button=false" /></a>
|
||||||
|
|
||||||
|
## 状态
|
||||||
|
|
||||||
|

|
107
apps/halo/versions/2.4.1/config.json
Normal file
107
apps/halo/versions/2.4.1/config.json
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
{
|
||||||
|
"formFields": [
|
||||||
|
{
|
||||||
|
"type": "apps",
|
||||||
|
"labelZh": "数据库服务",
|
||||||
|
"labelEn": "Database Service",
|
||||||
|
"required": true,
|
||||||
|
"default": "mysql",
|
||||||
|
"values": [{
|
||||||
|
"label": "MySQL",
|
||||||
|
"value": "mysql"
|
||||||
|
}],
|
||||||
|
"envKey": "HALO_PLATFORM",
|
||||||
|
"child": {
|
||||||
|
"type": "service",
|
||||||
|
"labelZh": "数据库服务",
|
||||||
|
"labelEn": "Database Service",
|
||||||
|
"required": true,
|
||||||
|
"default": "",
|
||||||
|
"envKey": "PANEL_DB_HOST"
|
||||||
|
},
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"type": "param",
|
||||||
|
"key": "mysql",
|
||||||
|
"value": "3306",
|
||||||
|
"envKey": "HALO_DB_PORT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "param",
|
||||||
|
"key": "postgresql",
|
||||||
|
"value": "5432",
|
||||||
|
"envKey": "HALO_DB_PORT"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"labelZh": "数据库名",
|
||||||
|
"labelEn": "Database",
|
||||||
|
"required": true,
|
||||||
|
"default": "halo",
|
||||||
|
"random": true,
|
||||||
|
"rule": "paramCommon",
|
||||||
|
"envKey": "PANEL_DB_NAME"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"labelZh": "数据库用户",
|
||||||
|
"labelEn": "User",
|
||||||
|
"required": true,
|
||||||
|
"default": "halo",
|
||||||
|
"random": true,
|
||||||
|
"rule": "paramCommon",
|
||||||
|
"envKey": "PANEL_DB_USER"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "password",
|
||||||
|
"labelZh": "数据库用户密码",
|
||||||
|
"labelEn": "Password",
|
||||||
|
"required": true,
|
||||||
|
"default": "halo",
|
||||||
|
"random": true,
|
||||||
|
"rule": "paramComplexity",
|
||||||
|
"envKey": "PANEL_DB_USER_PASSWORD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"labelZh": "超级管理员用户名",
|
||||||
|
"labelEn": "Admin Username",
|
||||||
|
"required": true,
|
||||||
|
"default": "admin",
|
||||||
|
"rule": "paramCommon",
|
||||||
|
"envKey": "HALO_ADMIN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "password",
|
||||||
|
"labelZh": "超级管理员密码",
|
||||||
|
"labelEn": "Admin Password",
|
||||||
|
"required": true,
|
||||||
|
"default": "halo",
|
||||||
|
"random": true,
|
||||||
|
"rule": "paramComplexity",
|
||||||
|
"envKey": "HALO_ADMIN_PASSWORD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"labelZh": "外部访问地址",
|
||||||
|
"labelEn": "External URL",
|
||||||
|
"required": true,
|
||||||
|
"default": "http://localhost:8080",
|
||||||
|
"rule": "paramExtUrl",
|
||||||
|
"envKey": "HALO_EXTERNAL_URL",
|
||||||
|
"edit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"labelZh": "端口",
|
||||||
|
"labelEn": "Port",
|
||||||
|
"required": true,
|
||||||
|
"default": 8080,
|
||||||
|
"rule": "paramPort",
|
||||||
|
"envKey": "PANEL_APP_PORT_HTTP",
|
||||||
|
"edit": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
32
apps/halo/versions/2.4.1/docker-compose.yml
Normal file
32
apps/halo/versions/2.4.1/docker-compose.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
halo:
|
||||||
|
image: halohub/halo:2.4.1
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- ./data:/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:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME}
|
||||||
|
- --spring.r2dbc.username=${PANEL_DB_USER}
|
||||||
|
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
|
||||||
|
- --spring.sql.init.platform=${HALO_PLATFORM}
|
||||||
|
- --halo.external-url=${HALO_EXTERNAL_URL}
|
||||||
|
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
|
||||||
|
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
@ -90,7 +90,7 @@
|
|||||||
"key": "halo",
|
"key": "halo",
|
||||||
"name": "Halo",
|
"name": "Halo",
|
||||||
"tags": ["WebSite"],
|
"tags": ["WebSite"],
|
||||||
"versions": ["2.2.0","2.3.2"],
|
"versions": ["2.2.0","2.3.2","2.4.1"],
|
||||||
"shortDescZh": "强大易用的开源建站工具",
|
"shortDescZh": "强大易用的开源建站工具",
|
||||||
"shortDescEn": "Powerful and easy-to-use open source website builder",
|
"shortDescEn": "Powerful and easy-to-use open source website builder",
|
||||||
"type": "website",
|
"type": "website",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user