jiangping
2023-09-27 54a32ffec350618ddb98fd430a9eecc2f395f958
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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: /