server: port: 10012 servlet: context-path: /user spring: application: name: ebike-user cloud: nacos: server-addr: 192.168.2.226:8848 # nacos username: nacos password: nacos jackson: serialization: write-dates-as-timestamps: false date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 datasource: url: jdbc:mysql://192.168.2.226:3306/ebike_user?useSSL=false username: root password: 970529 hikari: ## 最小空闲连接数量 minimum-idle: 5 ## 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 180000 ## 连接池最大连接数,默认是10 maximum-pool-size: 10 ## 数据库连接超时时间,默认30秒,即30000 connection-timeout: 30000 connection-test-query: SELECT 1 ##此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 1800000 sql: init: platform: postgis mode: always schema-locations: classpath:db/init.sql data-locations: classpath:db/data.sql mybatis-flex: mapper-locations: classpath:mapper/*.xml