mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38:47 +08:00
feat: 创建Halo,支持让用户自定义 “外部访问地址”
This commit is contained in:
parent
d407b38898
commit
8e44e54d87
@ -49,6 +49,14 @@
|
||||
"default": "random",
|
||||
"envKey": "HALO_ADMIN_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "外部访问地址",
|
||||
"labelEn": "External URL",
|
||||
"required": true,
|
||||
"default": "localhost",
|
||||
"envKey": "HALO_EXTERNAL_URL"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"labelZh": "端口",
|
||||
|
@ -15,7 +15,7 @@ services:
|
||||
- --spring.r2dbc.username=${PANEL_DB_USER}
|
||||
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
|
||||
- --spring.sql.init.platform=mysql
|
||||
- --halo.external-url=http://localhost:${PANEL_APP_PORT_HTTP}/
|
||||
- --halo.external-url=http://${HALO_EXTERNAL_URL}:${PANEL_APP_PORT_HTTP}/
|
||||
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
|
||||
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user