1 Star 0 Fork 0

王华耀 / springcloud-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config-eureka.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
woshixionglaoren 提交于 2020-12-11 15:30 . commit config.yml
spring:
profiles:
active: dev
---
server:
port: 7001
spring:
profiles: dev
application:
name: springcloud-config-eureka
#Eureka配置
eureka:
instance:
hostname: eureka7001.com # Eureka服务端的实例名字
client:
register-with-eureka: false # 表示是否向Eureka注册中心注册自己
fetch-registry: false # 如果为false,则 表示自己为注册中心
service-url:
# 监控页面
# defaultZone: 单例 :http://${eureka.instance.hostname}:${server.port}/eureka/
# 集群(关联)
defaultZone: http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
---
server:
port: 7001
spring:
profiles: test
application:
name: springcloud-config-eureka
#Eureka配置
eureka:
instance:
hostname: eureka7001.com # Eureka服务端的实例名字
client:
register-with-eureka: false # 表示是否向Eureka注册中心注册自己
fetch-registry: false # 如果为false,则 表示自己为注册中心
service-url:
# 监控页面
# defaultZone: 单例 :http://${eureka.instance.hostname}:${server.port}/eureka/
# 集群(关联)
defaultZone: http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wanghuayao1244/springcloud-config.git
git@gitee.com:wanghuayao1244/springcloud-config.git
wanghuayao1244
springcloud-config
springcloud-config
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891