defence_strong_enemy/target/classes/application.yaml
2025-07-23 16:29:53 +08:00

67 lines
1.3 KiB
YAML

server:
port: 8080
address: 0.0.0.0
spring:
thymeleaf:
cache: false
redis:
host: localhost
port: 6379
password:
database: 0
jedis:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: -1ms
datasource:
# mysql
# url: jdbc:mysql://localhost:3306/nation_defence?allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
# username: root
# password: 123456
# driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:dm://192.168.0.52:5236
username: NATION_DEFENCE
password: Lidy1234
driver-class-name: dm.jdbc.driver.DmDriver
hikari:
minimum-idle: 5
maximum-pool-size: 20
idle-timeout: 30000
pool-name: HikariCP
max-lifetime: 600000
connection-timeout: 30000
servlet:
multipart:
max-file-size: 20MB
max-request-size: 20MB
mybatis-plus:
mapper-locations: classpath:/mapper/**/*.xml
configuration:
database-id: dm
global-config:
db-config:
id-type: auto
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
battle:
inspectTime: 1
qualityTime: 1
measureTime: 1
training:
inspectTime: 5
qualityTime: 5
measureTime: 5
logging:
level:
com.baomidou.mybatisplus: warn
org.apache.ibatis: warn