From 5b9741547a08ad0f59f8325b5fb16c8cf8d93e5a Mon Sep 17 00:00:00 2001 From: mroldx Date: Sat, 11 Mar 2023 18:04:10 +0800 Subject: [PATCH] fix: add SPRING_DATASOURCE_PLATFORM to nacos-*.env #319 --- env/nacos-embedded.env | 1 + env/nacos-hostname.env | 1 + env/nacos-ip.env | 1 + 3 files changed, 3 insertions(+) diff --git a/env/nacos-embedded.env b/env/nacos-embedded.env index 6749990..2bd3b6f 100644 --- a/env/nacos-embedded.env +++ b/env/nacos-embedded.env @@ -2,6 +2,7 @@ PREFER_HOST_MODE=hostname EMBEDDED_STORAGE=embedded NACOS_SERVERS=nacos1:8848 nacos2:8849 nacos3:8850 +SPRING_DATASOURCE_PLATFORM=mysql MYSQL_SERVICE_DB_NAME=nacos_devtest MYSQL_SERVICE_PORT=3306 MYSQL_SERVICE_USER=nacos diff --git a/env/nacos-hostname.env b/env/nacos-hostname.env index df9d80a..96f1788 100644 --- a/env/nacos-hostname.env +++ b/env/nacos-hostname.env @@ -1,6 +1,7 @@ #nacos dev env PREFER_HOST_MODE=hostname NACOS_SERVERS=nacos1:8848 nacos2:8849 nacos3:8850 +SPRING_DATASOURCE_PLATFORM=mysql MYSQL_SERVICE_HOST=mysql MYSQL_SERVICE_DB_NAME=nacos_devtest MYSQL_SERVICE_PORT=3306 diff --git a/env/nacos-ip.env b/env/nacos-ip.env index d6becaf..28c3b41 100644 --- a/env/nacos-ip.env +++ b/env/nacos-ip.env @@ -1,5 +1,6 @@ #nacos dev env NACOS_SERVERS=172.16.238.10:8848 172.16.238.11:8848 172.16.238.12:8848 +SPRING_DATASOURCE_PLATFORM=mysql MYSQL_SERVICE_HOST=mysql MYSQL_SERVICE_DB_NAME=nacos_devtest MYSQL_SERVICE_PORT=3306