diff --git a/bonus-modules/bonus-material-mall/src/main/resources/bootstrap-material_mall_local.yml b/bonus-modules/bonus-material-mall/src/main/resources/bootstrap-material_mall_local.yml new file mode 100644 index 0000000..4ca96bf --- /dev/null +++ b/bonus-modules/bonus-material-mall/src/main/resources/bootstrap-material_mall_local.yml @@ -0,0 +1,26 @@ +# Tomcat +server: + port: 18589 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + # 配置文件格式 + 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-material-mall/src/main/resources/bootstrap.yml b/bonus-modules/bonus-material-mall/src/main/resources/bootstrap.yml index 8a1b9da..dfda269 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/bootstrap.yml +++ b/bonus-modules/bonus-material-mall/src/main/resources/bootstrap.yml @@ -2,7 +2,7 @@ spring: application: # 应用名称 - name: bonus-material-screen + name: bonus-material-mall profiles: # 环境配置 - active: sgzb_bns_local + active: material_mall_local