From afeba12d503d1687327dbf408f6a1fb795a4688c Mon Sep 17 00:00:00 2001 From: BrightChing Date: Mon, 22 Apr 2024 15:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20nacos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/nacos/2.3.2/data.yml | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/apps/nacos/2.3.2/data.yml b/apps/nacos/2.3.2/data.yml index 20559a2..13f9afe 100644 --- a/apps/nacos/2.3.2/data.yml +++ b/apps/nacos/2.3.2/data.yml @@ -48,6 +48,67 @@ additionalProperties: labelZh: Nacos身份验证令牌 required: true type: text + - default: "mysql" + edit: true + envKey: SPRING_DATASOURCE_PLATFORM + labelEn: SPRING_DATASOURCE_PLATFORM + labelZh: Nacos使用数据库类型 + required: true + type: select + values: + - label: MYSQL + value: "mysql" + - label: SQLSERVER + value: "sqlserver" + - label: ORACLE + value: "oracle" + - label: POSTGRESQL + value: "postgresql" + - label: H2 + value: "h2" + - label: HSQL + value: "hsql" + - label: DERBY + value: "derby" + - label: DB2 + value: "db2" + - label: SQLITE + value: "sqlite" + - default: 10.2.2.12 + edit: true + envKey: MYSQL_SERVICE_HOST + labelEn: Nacos mysql host + labelZh: Nacos mysql 主机地址 + required: true + type: text + - default: 3306 + edit: true + envKey: MYSQL_SERVICE_PORT + labelEn: Nacos mysql port + labelZh: Nacos mysql 端口 + required: true + type: number + - default: "nacos" + edit: true + envKey: MYSQL_SERVICE_DB_NAME + labelEn: Nacos mysql database name + labelZh: Nacos mysql 数据库名称 + required: true + type: text + - default: "root" + edit: true + envKey: MYSQL_SERVICE_USER + labelEn: Nacos mysql username + labelZh: Nacos mysql 用户名 + required: true + type: text + - default: "123456" + edit: true + envKey: MYSQL_SERVICE_PASSWORD + labelEn: Nacos mysql password + labelZh: Nacos mysql 密码 + required: true + type: text - default: "" edit: true envKey: NACOS_SERVER_IP