2024-07-23 16:09:59 +08:00
|
|
|
# Tomcat
|
|
|
|
|
server:
|
2024-07-29 20:34:04 +08:00
|
|
|
port: 18083
|
2024-07-23 16:09:59 +08:00
|
|
|
|
|
|
|
|
# Spring
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
# 应用名称
|
|
|
|
|
name: bonus-file
|
|
|
|
|
profiles:
|
|
|
|
|
# 环境配置
|
|
|
|
|
active: dev
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
2025-01-24 13:29:30 +08:00
|
|
|
username: nacos
|
|
|
|
|
password: nacos
|
2024-07-23 16:09:59 +08:00
|
|
|
discovery:
|
|
|
|
|
# 服务注册地址
|
2025-01-24 15:22:06 +08:00
|
|
|
server-addr: 192.168.0.16:18848
|
2025-01-24 13:29:30 +08:00
|
|
|
namespace: 0498f4fe-8430-4d43-acfe-f0cdf9a91df4
|
2024-07-23 16:09:59 +08:00
|
|
|
config:
|
|
|
|
|
# 配置中心地址
|
2025-01-24 15:22:06 +08:00
|
|
|
server-addr: 192.168.0.16:18848
|
2025-01-24 13:29:30 +08:00
|
|
|
namespace: 0498f4fe-8430-4d43-acfe-f0cdf9a91df4
|
2024-07-23 16:09:59 +08:00
|
|
|
# 配置文件格式
|
|
|
|
|
file-extension: yml
|
|
|
|
|
# 共享配置
|
|
|
|
|
shared-configs:
|
|
|
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|