2025-03-01 11:26:45 +08:00
|
|
|
# Tomcat
|
|
|
|
|
server:
|
2025-03-01 11:35:00 +08:00
|
|
|
port: 58584
|
2025-03-01 11:26:45 +08:00
|
|
|
|
|
|
|
|
# Spring
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
# 应用名称
|
|
|
|
|
name: bonus-gen
|
|
|
|
|
profiles:
|
|
|
|
|
# 环境配置
|
2025-03-01 11:35:00 +08:00
|
|
|
active: bonus_houqin_test
|
2025-03-01 11:26:45 +08:00
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
username: nacos
|
|
|
|
|
password: bonus@Admin123
|
|
|
|
|
discovery:
|
|
|
|
|
# 服务注册地址
|
|
|
|
|
server-addr: 192.168.0.244:8848
|
2025-03-01 11:35:00 +08:00
|
|
|
namespace: bonus_houqin
|
2025-03-01 11:26:45 +08:00
|
|
|
config:
|
|
|
|
|
# 配置中心地址
|
|
|
|
|
server-addr: 192.168.0.244:8848
|
2025-03-01 11:35:00 +08:00
|
|
|
namespace: bonus_houqin
|
2025-03-01 11:26:45 +08:00
|
|
|
# 配置文件格式
|
|
|
|
|
file-extension: yml
|
|
|
|
|
# 共享配置
|
|
|
|
|
shared-configs:
|
|
|
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|