From 2567d81ff483956b32621b704438eb6c5ad4d1b6 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 30 Dec 2024 14:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E6=85=A7=E5=B7=A5=E5=9C=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/bootstrap-smart_site_local.yml | 27 ++++++++++++ .../resources/bootstrap-smart_site_local.yml | 43 +++++++++++++++++++ .../resources/bootstrap-smart_site_local.yml | 21 +++++++++ .../resources/bootstrap-smart_site_local.yml | 26 +++++++++++ 4 files changed, 117 insertions(+) create mode 100644 bonus-auth/src/main/resources/bootstrap-smart_site_local.yml create mode 100644 bonus-gateway/src/main/resources/bootstrap-smart_site_local.yml create mode 100644 bonus-modules/bonus-file/src/main/resources/bootstrap-smart_site_local.yml create mode 100644 bonus-modules/bonus-system/src/main/resources/bootstrap-smart_site_local.yml diff --git a/bonus-auth/src/main/resources/bootstrap-smart_site_local.yml b/bonus-auth/src/main/resources/bootstrap-smart_site_local.yml new file mode 100644 index 0000000..2836bc0 --- /dev/null +++ b/bonus-auth/src/main/resources/bootstrap-smart_site_local.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 38081 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-gateway/src/main/resources/bootstrap-smart_site_local.yml b/bonus-gateway/src/main/resources/bootstrap-smart_site_local.yml new file mode 100644 index 0000000..e89f050 --- /dev/null +++ b/bonus-gateway/src/main/resources/bootstrap-smart_site_local.yml @@ -0,0 +1,43 @@ +# Tomcat +server: + port: 38080 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + sentinel: + # 取消控制台懒加载 + eager: true + transport: + # 控制台地址 + dashboard: 127.0.0.1:18858 + # nacos配置持久化 + datasource: + ds1: + nacos: + server-addr: 127.0.0.1:8848 + namespace: sgzb_bns + dataId: sentinel-bonus-gateway + groupId: DEFAULT_GROUP + data-type: json + rule-type: gw-flow + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-modules/bonus-file/src/main/resources/bootstrap-smart_site_local.yml b/bonus-modules/bonus-file/src/main/resources/bootstrap-smart_site_local.yml new file mode 100644 index 0000000..36a6ceb --- /dev/null +++ b/bonus-modules/bonus-file/src/main/resources/bootstrap-smart_site_local.yml @@ -0,0 +1,21 @@ +# Tomcat +server: + port: 39300 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-smart_site_local.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-smart_site_local.yml new file mode 100644 index 0000000..44a0b1b --- /dev/null +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-smart_site_local.yml @@ -0,0 +1,26 @@ +# Tomcat +server: + port: 38082 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: smart_site + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt