# WEB服务器配置 
 | 
server: 
 | 
  port: 10012 
 | 
  
 | 
spring: 
 | 
  # 数据源配置 
 | 
  datasource: 
 | 
    url: jdbc:postgresql://175.27.187.84:5432/park_bike?stringtype=unspecified&serverTimezone=GMT%2B8 
 | 
    username: postgres 
 | 
    password: Doumee@168 
 | 
    driver-class-name: org.postgresql.Driver 
 | 
  jpa: 
 | 
    properties: 
 | 
      hibernate: 
 | 
        dialect: org.hibernate.dialect.PostgreSQLDialect 
 | 
        #        hbm2ddl: 
 | 
        #          auto: update 
 | 
        temp: 
 | 
          use_jdbc_metadata_defaults: false 
 | 
  redis: 
 | 
    #    database: 0 
 | 
    host: localhost 
 | 
    port: 6379 
 | 
    password: 
 | 
    #    password: r-uf6is6x17arnu44bem:tlt_2022 
 | 
    timeout: 5000      # 连接池中的最小空闲连接 
 | 
  
 | 
knife4j: 
 | 
  enable: true 
 | 
  basic: 
 | 
    enable: true 
 | 
    username: admin 
 | 
    password: 111111 
 | 
  
 | 
debug_model: true 
 | 
# 是否需要验证码 
 | 
captcha_check: false 
 | 
# Swagger配置 
 | 
swagger: 
 | 
  host: 
 | 
  title: ${project.name}接口文档 
 | 
  description: ${project.name}接口文档 
 | 
  enabled: true 
 | 
  # 禁用swagger时的重定向地址 
 | 
  redirect-uri: / 
 |