配置文件
This commit is contained in:
parent
10ec8d54f7
commit
d3f718d199
|
|
@ -1,35 +0,0 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 38389
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: bonus-cust-auth
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: smart_canteen_test
|
||||
cloud:
|
||||
nacos:
|
||||
username: nacos
|
||||
password: bonus@Admin123
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 192.168.0.244:8848
|
||||
namespace: smart_canteen
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 192.168.0.244:8848
|
||||
namespace: smart_canteen
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
|
||||
#加密组件
|
||||
jasypt:
|
||||
encryptor:
|
||||
password: Encrypt
|
||||
|
||||
Loading…
Reference in New Issue