This commit is contained in:
qaq
2025-06-17 12:17:33 +08:00
parent 4a6b2c8e0f
commit 9fa968d07c
648 changed files with 64968 additions and 1621 deletions
@@ -0,0 +1,38 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${DB_HOST}:3306/${DB_NAME}?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
username: ${DB_USER}
password: ${DB_PASSWORD}
hikari:
max-lifetime: 500000
connection-timeout: 30000
idle-timeout: 600000
max-pool-size: 20
minimum-idle: 5
pool-name: HikariCP
auto-commit: true
connection-test-query: SELECT 1
servlet:
multipart:
max-file-size: 50MB
max-request-size: 50MB
lifecycle:
timeout-per-shutdown-phase: 30s
server:
port: 6365
tomcat:
uri-encoding: UTF-8
max-thread: 800
max-connections: 2000
shutdown: graceful
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
jwt-secret: ${JWT_SECRET}
log-dir: ${LOG_DIR}
server-addr: ${SERVER_ADDR}