配置文件

This commit is contained in:
sxu 2025-03-01 11:26:37 +08:00
parent 10ec8d54f7
commit d3f718d199
17 changed files with 0 additions and 35 deletions

View File

@ -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