diff --git a/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml b/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..ad84584 --- /dev/null +++ b/bonus-auth/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,28 @@ +# Tomcat +server: + port: 28081 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-auth/src/main/resources/bootstrap.yml b/bonus-auth/src/main/resources/bootstrap.yml index 7051969..c226a7c 100644 --- a/bonus-auth/src/main/resources/bootstrap.yml +++ b/bonus-auth/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-auth profiles: # 环境配置 - active: dev + active: material_mall_test #加密组件 jasypt: diff --git a/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml b/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..be0abdb --- /dev/null +++ b/bonus-gateway/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,44 @@ +# Tomcat +server: + port: 18080 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + 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-gateway/src/main/resources/bootstrap.yml b/bonus-gateway/src/main/resources/bootstrap.yml index 1766a04..2e669b9 100644 --- a/bonus-gateway/src/main/resources/bootstrap.yml +++ b/bonus-gateway/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-gateway profiles: # 环境配置 - active: dev + active: material_mall_test #加密组件 jasypt: diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml new file mode 100644 index 0000000..437c29f --- /dev/null +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_test.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 28082 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + ip: 192.168.0.69 + config: + # 配置中心地址 + server-addr: 14.103.246.124:8848 + namespace: material_mall_shanxi + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap.yml index 790dc0d..12f7b32 100644 --- a/bonus-modules/bonus-system/src/main/resources/bootstrap.yml +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-system profiles: # 环境配置 - active: dev + active: material_mall_test task: scheduling: pool: