配置文件
This commit is contained in:
parent
1652eac0c5
commit
55fe18c5f2
|
|
@ -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
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: bonus-material-screen
|
||||
name: bonus-material-mall
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: sgzb_bns_local
|
||||
active: material_mall_local
|
||||
|
|
|
|||
Loading…
Reference in New Issue