1
0
Fork 0
management/back/dkha-sz-main/dkha-auth/target/classes/bootstrap-dev.yml

31 lines
959 B
YAML
Raw Normal View History

2023-12-18 13:12:25 +08:00
server:
port: 8081
servlet:
context-path: /auth
spring:
cloud:
nacos:
discovery:
metadata:
management:
context-path: ${server.servlet.context-path}/actuator
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:}
group: zr
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