fix: 解决 yourls 安装之后 env 文件错误的问题

This commit is contained in:
zhengkunwang223 2023-12-08 16:35:08 +08:00
parent d28c063d5b
commit ef413d9a4f
2 changed files with 2 additions and 12 deletions

View File

@ -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:

View File

@ -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}