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.
33 lines
668 B
YAML
33 lines
668 B
YAML
3 years ago
|
# Tomcat
|
||
|
server:
|
||
3 years ago
|
port: 9202
|
||
3 years ago
|
|
||
|
# Spring
|
||
|
spring:
|
||
|
application:
|
||
|
# 应用名称
|
||
3 years ago
|
name: ruoyi-gen
|
||
3 years ago
|
profiles:
|
||
|
# 环境配置
|
||
|
active: @profiles.active@
|
||
|
|
||
|
--- # nacos 配置
|
||
|
spring:
|
||
|
cloud:
|
||
|
nacos:
|
||
|
# nacos 服务地址
|
||
|
server-addr: @nacos.server@
|
||
|
discovery:
|
||
|
# 注册组
|
||
|
group: @nacos.discovery.group@
|
||
|
namespace: ${spring.profiles.active}
|
||
|
config:
|
||
|
# 配置组
|
||
|
group: @nacos.config.group@
|
||
|
namespace: ${spring.profiles.active}
|
||
3 years ago
|
config:
|
||
|
import:
|
||
|
- optional:nacos:application-common.yml
|
||
|
- optional:nacos:datasource.yml
|
||
|
- optional:nacos:${spring.application.name}.yml
|