mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
29 lines
524 B
YAML
29 lines
524 B
YAML
server:
|
|
port: 8070
|
|
spring:
|
|
cloud:
|
|
nacos:
|
|
username: nacos
|
|
password: nacos
|
|
discovery:
|
|
server-addr: 127.0.0.1:8848
|
|
group: test
|
|
gateway:
|
|
discovery:
|
|
locator:
|
|
enabled: true
|
|
|
|
application:
|
|
name: node-service
|
|
sidecar:
|
|
# 异构微服务的IP
|
|
ip: 127.0.0.1
|
|
# 异构微服务的端口
|
|
port: 8060
|
|
|
|
# 异构微服务的健康检查URL
|
|
#health-check-url: http://localhost:8060/health.json
|
|
management:
|
|
endpoint:
|
|
health:
|
|
show-details: always |