forked from zhurui/management
22 lines
683 B
YAML
22 lines
683 B
YAML
server:
|
||
port: 8100
|
||
|
||
spring:
|
||
cloud:
|
||
nacos:
|
||
discovery:
|
||
server-addr: ${nacos-host:127.0.0.1}:${nacos-port:8848}
|
||
# server-addr: ${nacos-host:192.168.15.101}:${nacos-port:8848}
|
||
#nacos的命名空间ID,默认是public
|
||
namespace: ${nacos-namespace:}
|
||
config:
|
||
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
||
namespace: ${spring.cloud.nacos.discovery.namespace}
|
||
group: DKHA_CLOUD_GROUP
|
||
file-extension: yaml
|
||
#指定共享配置,且支持动态刷新
|
||
extension-configs:
|
||
- data-id: common.yaml
|
||
group: ${spring.cloud.nacos.config.group}
|
||
refresh: true
|