1 Star 0 Fork 0

fantasy / springcloud-configserver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
springcloud-dev.yml 740 Bytes
一键复制 编辑 原始数据 按行查看 历史
fantasy 提交于 2021-01-20 18:55 . update springcloud-dev.yml.
server:
port: ${port:9091}
spring:
application:
name: user-service
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/springcloud_test
username: root
password: 123456
mybatis:
type-aliases-package: com.example.entity
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:10086/eureka
instance:
# 使用 ip 地址,而不是使用主机名
prefer-ip-address: true
# 配置访问的 ip 地址
ip-address: 127.0.0.1
# 服务的续约间隔,默认为 30 秒
lease-renewal-interval-in-seconds: 5
# 服务的失效时间,默认为 30 秒
lease-expiration-duration-in-seconds: 5
test:
name: ouyf1
1
https://gitee.com/oyfantasy/springcloud-configserver.git
git@gitee.com:oyfantasy/springcloud-configserver.git
oyfantasy
springcloud-configserver
springcloud-configserver
master

搜索帮助