From 847080d09e21de5d7b8b0a2c1c8fe3e881990dfe Mon Sep 17 00:00:00 2001 From: BrightChing Date: Mon, 22 Apr 2024 16:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nacos=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E5=90=AF=E7=94=A8=E8=AE=A4=E8=AF=81=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=B9=B6=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/nacos/2.3.2/data.yml | 2 +- apps/nacos/2.3.2/docker-compose.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/nacos/2.3.2/data.yml b/apps/nacos/2.3.2/data.yml index e34a3f6..a01a631 100644 --- a/apps/nacos/2.3.2/data.yml +++ b/apps/nacos/2.3.2/data.yml @@ -1,6 +1,6 @@ additionalProperties: formFields: - - default: "false" + - default: "true" edit: true envKey: NACOS_AUTH_ENABLE labelEn: Enable Authentication diff --git a/apps/nacos/2.3.2/docker-compose.yml b/apps/nacos/2.3.2/docker-compose.yml index a73f53c..08540be 100644 --- a/apps/nacos/2.3.2/docker-compose.yml +++ b/apps/nacos/2.3.2/docker-compose.yml @@ -16,6 +16,12 @@ services: - NACOS_AUTH_IDENTITY_VALUE=${NACOS_AUTH_IDENTITY_VALUE} - NACOS_AUTH_TOKEN=${NACOS_AUTH_TOKEN} - NACOS_SERVER_IP=${NACOS_SERVER_IP} + - SPRING_DATASOURCE_PLATFORM=${SPRING_DATASOURCE_PLATFORM} + - MYSQL_SERVICE_HOST=${MYSQL_SERVICE_HOST} + - MYSQL_SERVICE_PORT=${MYSQL_SERVICE_PORT} + - MYSQL_SERVICE_DB_NAME=${MYSQL_SERVICE_DB_NAME} + - MYSQL_SERVICE_USER=${MYSQL_SERVICE_USER} + - MYSQL_SERVICE_PASSWORD=${MYSQL_SERVICE_PASSWORD} volumes: - ./data/logs:/home/nacos/logs - ./data/data:/home/nacos/data