mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
fix: 解决 yourls 安装之后 env 文件错误的问题
This commit is contained in:
parent
d28c063d5b
commit
ef413d9a4f
@ -3,22 +3,12 @@ additionalProperties:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: YOURLS_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: YOURLS_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
|
@ -13,7 +13,7 @@ services:
|
||||
- YOURLS_SITE=${YOURLS_EXTERNAL_URL}
|
||||
- YOURLS_USER=${USERNAME}
|
||||
- YOURLS_PASS=${PASSWORD}
|
||||
- YOURLS_DB_HOST=${PANEL_DB_HOST}:${YOURLS_DB_PORT}
|
||||
- YOURLS_DB_HOST=${PANEL_DB_HOST}:${PANEL_DB_PORT}
|
||||
- YOURLS_DB_NAME=${PANEL_DB_NAME}
|
||||
- YOURLS_DB_USER=${PANEL_DB_USER}
|
||||
- YOURLS_DB_PASS=${PANEL_DB_USER_PASSWORD}
|
||||
|
Loading…
Reference in New Issue
Block a user