1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| #spring:
| # profiles:
| # # 当前激活环境
| # active: dev
| # main:
| # allow-bean-definition-overriding: true
| # cloud:
| # #配置Bus id(远程推送事件)
| # bus:
| # id: ${spring.application.name}:${server.port}
| # nacos:
| # config:
| # # 命名空间 常用场景之一是不同环境的配置的区分隔离,例如开发测试环境和生产环境的资源(如配置、服务)隔离等
| # namespace:
| # # 配置中心地址
| # server-addr: 25.30.15.85:8848
| # # 配置对应的分组
| # group: DEFAULT_GROUP
| # # 配置文件后缀
| # file-extension: yaml
| # prefix: cube
| # discovery:
| # namespace:
| # server-addr: 25.30.15.85:8848
| # metadata:
| # management:
| # context-path: ${server.servlet.context-path}/actuator
| # watch:
| # enabled: false
|
|