Skip to content

Commit bacbead

Browse files
feat: 增加 halo v2.3.0
1 parent 7c4b3e9 commit bacbead

File tree

5 files changed

+145
-5
lines changed

5 files changed

+145
-5
lines changed

apps/halo/versions/2.3.0/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
------------------------------
2+
3+
## 快速开始
4+
5+
```bash
6+
docker run \
7+
-it -d \
8+
--name halo \
9+
-p 8090:8090 \
10+
-v ~/.halo2:/root/.halo2 \
11+
halohub/halo:2.2 \
12+
--halo.external-url=http://localhost:8090/ \
13+
--halo.security.initializer.superadminusername=admin \
14+
--halo.security.initializer.superadminpassword=P@88w0rd
15+
```
16+
17+
以上仅作为体验使用,详细部署文档请查阅:<https://docs.halo.run/getting-started/install/docker-compose>
18+
19+
## 在线体验
20+
21+
- 环境地址:<https://demo.halo.run>
22+
- 后台地址:<https://demo.halo.run/console>
23+
- 用户名:`demo`
24+
- 密码:`P@ssw0rd123..`
25+
26+
## 生态
27+
28+
可访问 [awesome-halo](https://github.com/halo-sigs/awesome-halo) 查看已经适用于 Halo 2.0 的主题和插件,以及适用于 Halo
29+
1.x 的相关仓库。
30+
31+
## 许可证
32+
33+
[![license](https://img.shields.io/github/license/halo-dev/halo.svg?style=flat-square)](https://github.com/halo-dev/halo/blob/master/LICENSE)
34+
35+
Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。
36+
37+
## 贡献
38+
39+
参考 [CONTRIBUTING](https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md)
40+
41+
<a href="https://github.com/halo-dev/halo/graphs/contributors"><img src="https://opencollective.com/halo/contributors.svg?width=890&button=false" /></a>
42+
43+
## 状态
44+
45+
![Repobeats analytics](https://repobeats.axiom.co/api/embed/ad008b2151c22e7cf734d2688befaa795d593b95.svg "Repobeats analytics image")
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"formFields": [
3+
{
4+
"type": "service",
5+
"key": "mysql",
6+
"labelZh": "数据库服务",
7+
"labelEn": "Database Service",
8+
"required": true,
9+
"default": "",
10+
"envKey": "PANEL_DB_HOST"
11+
},
12+
{
13+
"type": "text",
14+
"labelZh": "数据库名",
15+
"labelEn": "Database",
16+
"required": true,
17+
"default": "random",
18+
"envKey": "PANEL_DB_NAME"
19+
},
20+
{
21+
"type": "text",
22+
"labelZh": "数据库用户",
23+
"labelEn": "User",
24+
"required": true,
25+
"default": "random",
26+
"envKey": "PANEL_DB_USER"
27+
},
28+
{
29+
"type": "password",
30+
"labelZh": "数据库用户密码",
31+
"labelEn": "Password",
32+
"required": true,
33+
"default": "random",
34+
"envKey": "PANEL_DB_USER_PASSWORD"
35+
},
36+
{
37+
"type": "text",
38+
"labelZh": "超级管理员用户名",
39+
"labelEn": "Admin Username",
40+
"required": true,
41+
"default": "admin",
42+
"envKey": "HALO_ADMIN"
43+
},
44+
{
45+
"type": "password",
46+
"labelZh": "超级管理员密码",
47+
"labelEn": "Admin Password",
48+
"required": true,
49+
"default": "random",
50+
"envKey": "HALO_ADMIN_PASSWORD"
51+
},
52+
{
53+
"type": "text",
54+
"labelZh": "外部访问地址",
55+
"labelEn": "External URL",
56+
"required": true,
57+
"default": "http://localhost:8080",
58+
"envKey": "HALO_EXTERNAL_URL"
59+
},
60+
{
61+
"type": "number",
62+
"labelZh": "端口",
63+
"labelEn": "Port",
64+
"required": true,
65+
"default": 8080,
66+
"envKey": "PANEL_APP_PORT_HTTP"
67+
}
68+
]
69+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: "3"
2+
services:
3+
halo:
4+
image: halohub/halo:2.3.0
5+
container_name: ${CONTAINER_NAME}
6+
restart: always
7+
networks:
8+
- 1panel-network
9+
volumes:
10+
- ./data:/root/.halo
11+
ports:
12+
- ${PANEL_APP_PORT_HTTP}:8090
13+
command:
14+
- --spring.r2dbc.url=r2dbc:pool:mysql://${PANEL_DB_HOST}:3306/${PANEL_DB_NAME}
15+
- --spring.r2dbc.username=${PANEL_DB_USER}
16+
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
17+
- --spring.sql.init.platform=mysql
18+
- --halo.external-url=${HALO_EXTERNAL_URL}
19+
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
20+
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
21+
labels:
22+
createdBy: "Apps"
23+
24+
networks:
25+
1panel-network:
26+
external: true

apps/list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"key": "halo",
9191
"name": "Halo",
9292
"tags": ["WebSite"],
93-
"versions": ["2.2.0"],
93+
"versions": ["2.2.0","2.3.0"],
9494
"shortDescZh": "强大易用的开源建站工具",
9595
"shortDescEn": "Powerful and easy-to-use open source website builder",
9696
"type": "website",

apps/openresty/versions/1.21.4/config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"formFields": [
33
{
44
"type": "number",
5-
"labelZh": "Http 端口",
6-
"labelEn": "Http Port",
5+
"labelZh": "HTTP 端口",
6+
"labelEn": "HTTP Port",
77
"required": true,
88
"default": 80,
99
"envKey": "PANEL_APP_PORT_HTTP",
1010
"disabled": true
1111
},
1212
{
1313
"type": "number",
14-
"labelZh": "Https 端口",
15-
"labelEn": "Https Port",
14+
"labelZh": "HTTPS 端口",
15+
"labelEn": "HTTPS Port",
1616
"required": true,
1717
"default": 443,
1818
"envKey": "PANEL_APP_PORT_HTTPS",

0 commit comments

Comments
 (0)