1
0
Fork 0
management/back/dkha-sz-main/dkha-admin/dkha-admin-server/target/classes/bootstrap-prod.yml

29 lines
872 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

server:
port: 9082
servlet:
context-path: /sys
spring:
cloud:
nacos:
discovery:
metadata:
management:
context-path: ${server.servlet.context-path}/actuator
server-addr: ${nacos-host:192.168.8.3}:${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: datasource.yaml
group: ${spring.cloud.nacos.config.group}
refresh: true
- data-id: common.yaml
group: ${spring.cloud.nacos.config.group}
refresh: true