1 Star 0 Fork 0

bo0522 / springcloud-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config-hystrix.yml 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
bo0522 提交于 2020-08-17 22:44 . 新增eureka和hystrix配置
spring:
profiles:
active:dev
---
server:
port: 8001
mybatis:
type-aliases-package: com.bobo.springcloud.pojo
mapper-locations: classpath:mapper/*.xml
spring:
profiles: dev
application:
name: springcloud-provider-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db01?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: root
eureka:
client:
service-url:
defaultZone: http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
instance:
instance-id: springcloud-provider-dept-hystrix-8001
prefer-ip-address: true
info:
app.name: bobo
company.name: www.baidu.com
---
server:
port: 8001
mybatis:
type-aliases-package: com.bobo.springcloud.pojo
mapper-locations: classpath:mapper/*.xml
spring:
profiles: test
application:
name: springcloud-provider-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db01?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: root
eureka:
client:
service-url:
defaultZone: http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
instance:
instance-id: springcloud-provider-dept-hystrix-8001
prefer-ip-address: true
info:
app.name: bobo
company.name: www.baidu.com
Java
1
https://gitee.com/bo0522/springcloud-config.git
git@gitee.com:bo0522/springcloud-config.git
bo0522
springcloud-config
springcloud-config
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891