mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-27 00:42:56 +08:00
feat: 配置修改
This commit is contained in:
parent
fb416fa7e3
commit
aea0d8a901
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ spring:
|
|||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: localhost:9000 # 配置服务注册nacos地址
|
||||
server-addr: 172.18.92.40:8848 # 配置服务注册nacos地址
|
||||
namespace: ${spring.profiles.active} # 配置命名空间
|
||||
service: ${spring.application.name} # 配置服务名
|
||||
config:
|
||||
# 指定nacos server的地址
|
||||
server-addr: localhost:9000
|
||||
server-addr: 172.18.92.40:8848
|
||||
# 配置文件后缀
|
||||
file-extension: yml
|
||||
# 命名空间 常用场景之一是不同环境的配置的区分隔离,例如开发测试环境和生产环境的资源(如配置、服务)隔离等
|
||||
|
|
Loading…
Reference in a new issue