You can not 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
636 B

# Tomcat
server:
port: 8080
servlet:
context-path: /
# Spring
spring:
application:
# 应用名称
name: ruoyi-gateway
profiles:
# 环境配置
active: dev
--- # nacos 配置
spring:
cloud:
nacos:
# nacos 服务地址
server-addr: 172.25.0.18:8848
discovery:
# 注册组
group: DEFAULT_GROUP
namespace: ${spring.profiles.active}
config:
# 配置组
group: DEFAULT_GROUP
namespace: ${spring.profiles.active}
config:
import:
- optional:nacos:application-common.yml
- optional:nacos:${spring.application.name}.yml