mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
feat: frpc script => scripts
This commit is contained in:
parent
a22a8af4d5
commit
e47d274f59
@ -12,12 +12,14 @@ additionalProperties:
|
||||
labelZh: 服务端端口
|
||||
required: true
|
||||
type: number
|
||||
rule: paramPort
|
||||
- default: 7400
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Dashboard Port
|
||||
labelZh: Dashboard 端口
|
||||
required: true
|
||||
type: number
|
||||
rule: paramPort
|
||||
- default: admin
|
||||
envKey: USER_NAME
|
||||
labelEn: Dashboard Username
|
||||
|
@ -4,7 +4,6 @@ source ./.env
|
||||
|
||||
sed -i "s/serverAddr = \".*\"/serverAddr = \"${SERVER_ADDRESS}\"/" ./data/frpc.toml
|
||||
sed -i "s/serverPort = .*$/serverPort = ${SERVER_PORT}/" ./data/frpc.toml
|
||||
sed -i "s/webServer\.addr = \".*\"/webServer.addr = \"${SERVER_ADDRESS}\"/" ./data/frpc.toml
|
||||
sed -i "s/webServer\.port = .*$/webServer.port = ${PANEL_APP_PORT_HTTP}/" ./data/frpc.toml
|
||||
sed -i "s/webServer\.user = \".*\"/webServer.user = \"${USER_NAME}\"/" ./data/frpc.toml
|
||||
sed -i "s/webServer\.password = \".*\"/webServer.password = \"${PASSWORD}\"/" ./data/frpc.toml
|
@ -6,12 +6,14 @@ additionalProperties:
|
||||
labelZh: 服务端口
|
||||
required: true
|
||||
type: number
|
||||
rule: paramPort
|
||||
- default: 7500
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Dashboard Port
|
||||
labelZh: Dashboard 端口
|
||||
required: true
|
||||
type: number
|
||||
rule: paramPort
|
||||
- default: admin
|
||||
envKey: USER_NAME
|
||||
labelEn: Username
|
||||
|
Loading…
Reference in New Issue
Block a user