application.yml配置模版
作者:互联网
server:
port: 8081
spring:
application:
name: item-service
datasource:
url: jdbc:mysql://localhost:3306/hm49?serverTimezone=PRC&useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: 123456
eureka:
client:
service-url:
defaultZone: http://localhost:10086/eureka
instance:
lease-expiration-duration-in-seconds: 5
lease-renewal-interval-in-seconds: 15
mybatis:
type-aliases-package: com.leyou.item.pojo
标签:service,url,模版,seconds,application,yml,localhost,lease 来源: https://www.cnblogs.com/qingzuihub/p/13792681.html