Bonus-Cloud/bonus-auth/src/main/resources/bootstrap.yml

34 lines
649 B
YAML
Raw Normal View History

2024-06-04 14:16:31 +08:00
# Tomcat
server:
port: 18081
2024-06-04 14:16:31 +08:00
# Spring
spring:
application:
# 应用名称
name: bonus-auth
profiles:
# 环境配置
2024-09-24 11:17:34 +08:00
active: local
2024-06-04 14:16:31 +08:00
cloud:
nacos:
discovery:
# 服务注册地址
2024-09-24 11:17:34 +08:00
server-addr: 127.0.0.1:8848
namespace: sgzb_bns
2024-06-04 14:16:31 +08:00
config:
# 配置中心地址
2024-09-24 11:17:34 +08:00
server-addr: 127.0.0.1:8848
namespace: sgzb_bns
2024-06-04 14:16:31 +08:00
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
2024-09-12 18:01:29 +08:00
#加密组件
jasypt:
encryptor:
password: Encrypt
2024-08-01 13:30:44 +08:00