server/src/main/resources/application.yml

28 lines
715 B
YAML

spring:
application:
name: server
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/syjiaer_clinic
username: postgres
password: 123456
hikari:
maximum-pool-size: 10
minimum-idle: 5
idle-timeout: 300000
max-lifetime: 1800000
connection-timeout: 30000
leak-detection-threshold: 60000
initialization-fail-timeout: 60000
keepalive-time: 30000
config:
import: optional:classpath:developer-config.yml
server:
port: 8088
common:
isdev: true
jwt:
secret: Lrhcnqby4UiFnFqQIWGp8051odVDtqEHaMeDvdzwGhsUPa2nEUAPrlPHTKaABWoM
expiration: 86400
mybatis-plus:
mapper-locations: classpath*:xml/*.xml