From 65abda93fb73b77a1450302796fd01b6c8bc27ad Mon Sep 17 00:00:00 2001 From: aoshiguchen <1052045476@qq.com> Date: Thu, 6 Mar 2025 13:04:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3docker=E9=83=A8=E7=BD=B2=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=80=9A=E8=BF=87=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E6=8C=87=E5=AE=9Adb=E9=85=8D=E7=BD=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neutrino-proxy-server/src/main/resources/app-copy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neutrino-proxy-server/src/main/resources/app-copy.yml b/neutrino-proxy-server/src/main/resources/app-copy.yml index d01b8e39..bc4bd15a 100644 --- a/neutrino-proxy-server/src/main/resources/app-copy.yml +++ b/neutrino-proxy-server/src/main/resources/app-copy.yml @@ -49,10 +49,10 @@ neutrino: data: db: # 数据库类型,目前支持h2、mysql、mariadb - type: h2 + type: ${DB_TYPE:h2} # 数据库连接URL - url: jdbc:h2:file:./data/db;MODE=MySQL;AUTO_SERVER=TRUE + url: ${DB_URL:jdbc:h2:file:./data/db;MODE=MySQL;AUTO_SERVER=TRUE} # 数据库用户名 - username: + username: ${DB_USER:} # 数据库密码 - password: + password: ${DB_PASSWORD:}