|
|
|
@ -31,11 +31,15 @@ management: |
|
|
|
eureka: |
|
|
|
instance: |
|
|
|
prefer-ip-address: false |
|
|
|
hostname: ${spring.cloud.client.ip-address} |
|
|
|
instance-id: ${spring.cloud.client.ip-address}:${server.port} |
|
|
|
# 腾讯云的外网地址 |
|
|
|
hostname: 43.136.102.165 |
|
|
|
instance-id: 43.136.102.165:${server.port} |
|
|
|
# 默认的写法 |
|
|
|
# hostname: ${spring.cloud.client.ip-address} |
|
|
|
# instance-id: ${spring.cloud.client.ip-address}:${server.port} |
|
|
|
# 以下是花生壳的内网穿透地址 |
|
|
|
# hostname: 7rh733og4116.vicp.fun |
|
|
|
# instance-id: 7rh733og4116.vicp.fun |
|
|
|
# hostname: 7rh733og4116.vicp.fun |
|
|
|
# instance-id: 7rh733og4116.vicp.fun |
|
|
|
metadata-map: |
|
|
|
management: |
|
|
|
context-path: ${server.servlet.context-path}/actuator |
|
|
|
|