2020-05-24 20:40:55 +08:00
|
|
|
# Tomcat
|
|
|
|
|
server:
|
|
|
|
|
port: 9200
|
|
|
|
|
|
|
|
|
|
# Spring
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
# 应用名称
|
|
|
|
|
name: ruoyi-auth
|
|
|
|
|
profiles:
|
|
|
|
|
# 环境配置
|
|
|
|
|
active: dev
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
discovery:
|
|
|
|
|
# 服务注册地址
|
2021-03-10 23:17:24 +08:00
|
|
|
server-addr: 192.168.50.129:8848
|
2020-05-24 20:40:55 +08:00
|
|
|
config:
|
|
|
|
|
# 配置中心地址
|
2021-03-10 23:17:24 +08:00
|
|
|
server-addr: 192.168.50.129:8848
|
2020-05-24 20:40:55 +08:00
|
|
|
# 配置文件格式
|
|
|
|
|
file-extension: yml
|
|
|
|
|
# 共享配置
|
2021-01-27 18:00:50 +08:00
|
|
|
shared-configs:
|
|
|
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|