You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
792 B
YAML
34 lines
792 B
YAML
# Tomcat
|
|
server:
|
|
port: 9100
|
|
|
|
# Spring
|
|
spring:
|
|
application:
|
|
# 应用名称
|
|
name: ruoyi-monitor
|
|
profiles:
|
|
# 环境配置
|
|
active: @profiles.active@
|
|
|
|
--- # nacos 配置
|
|
spring:
|
|
cloud:
|
|
nacos:
|
|
# nacos 服务地址
|
|
server-addr: @nacos.server@
|
|
discovery:
|
|
# 注册组
|
|
group: @nacos.discovery.group@
|
|
config:
|
|
# 配置组
|
|
group: @nacos.config.group@
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
# 共享配置
|
|
shared-configs:
|
|
- data-id: application.${spring.cloud.nacos.config.file-extension}
|
|
refresh: true
|
|
- data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
refresh: true
|