From ef413d9a4f53cc219ac278929a8b64a501196837 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Fri, 8 Dec 2023 16:35:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20yourls=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E4=B9=8B=E5=90=8E=20env=20=E6=96=87=E4=BB=B6=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/yourls/1.9.2/data.yml | 12 +----------- apps/yourls/1.9.2/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/apps/yourls/1.9.2/data.yml b/apps/yourls/1.9.2/data.yml index e75d4d67..1b8e98cf 100644 --- a/apps/yourls/1.9.2/data.yml +++ b/apps/yourls/1.9.2/data.yml @@ -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: diff --git a/apps/yourls/1.9.2/docker-compose.yml b/apps/yourls/1.9.2/docker-compose.yml index 716a7fe7..37b2b011 100644 --- a/apps/yourls/1.9.2/docker-compose.yml +++ b/apps/yourls/1.9.2/docker-compose.yml @@ -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}