2025-08-11 13:32:44 +08:00
|
|
|
# Tomcat
|
|
|
|
|
server:
|
|
|
|
|
port: 38083
|
|
|
|
|
|
|
|
|
|
# Spring
|
|
|
|
|
spring:
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
username: nacos
|
|
|
|
|
password: nacos
|
|
|
|
|
discovery:
|
|
|
|
|
# 服务注册地址
|
|
|
|
|
server-addr: 192.168.0.14:8848
|
2025-08-14 13:25:54 +08:00
|
|
|
namespace: fangliang_test
|
2025-08-11 13:32:44 +08:00
|
|
|
config:
|
|
|
|
|
# 配置中心地址
|
|
|
|
|
server-addr: 192.168.0.14:8848
|
2025-08-14 13:25:54 +08:00
|
|
|
namespace: fangliang_test
|
2025-08-11 13:32:44 +08:00
|
|
|
# 配置文件格式
|
|
|
|
|
file-extension: yml
|
|
|
|
|
# 共享配置
|
|
|
|
|
shared-configs:
|
|
|
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
|
|
|
|
|
|
|
|
#加密组件
|
|
|
|
|
jasypt:
|
|
|
|
|
encryptor:
|
|
|
|
|
password: Encrypt
|