公告板
版本库
filestore
活动
搜索
登录
main
/
Lianxun_Java
联讯物业系统后台
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
修复 添加房屋时的侦听 类修改
wuxw
2019-08-01
2f73a671db8bf132baaba12a5c2a9c3b611589e9
[Lianxun_Java.git]
/
zipkin
/
src
/
main
/
resources
/
application-ha.yml
1
2
3
4
5
6
7
8
9
10
11
---
spring:
profiles: peer1 # 指定profile=peer1
server:
port: 8761
eureka:
instance:
hostname: peer1 # 指定当profile=peer1时,主机名
client:
serviceUrl:
defaultZone: http://peer2:8762/eureka/ # 将自己注册到peer2这个Eureka上面去