1 Star 0 Fork 0

lganki / config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
user-dev.yml 898 Bytes
一键复制 编辑 原始数据 按行查看 历史
lganki 提交于 2021-01-07 20:47 . update user-dev.yml.
server:
port: ${port:9001}
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql:///springcloud
username: root
password: root
application:
# 应用名称(服务id)
name: user-service
# 配置eureka服务端地址
eureka:
client:
service-url:
#配置eureka server 服务地址
defaultZone: http://localhost:8761/eureka,http://localhost:8762/eureka
fetch-registry: false # 拉取服务
register-with-eureka: true # 注册服务
# 配置eureka
instance:
ip-address: 127.0.0.1 # ip地址
prefer-ip-address: true # 更倾向于使用ip,而不是host名称
lease-renewal-interval-in-seconds: 30 # 服务续约(renew)的间隔时间,默认为30秒
lease-expiration-duration-in-seconds: 90 # 服务失效时间,默认值90秒
logging:
level:
cn.itcast: debug
1
https://gitee.com/lganki/config.git
git@gitee.com:lganki/config.git
lganki
config
config
master

搜索帮助