2024-01-08 19:10:08 +08:00

32 lines
932 B
YAML

server:
port: @app.port@
servlet:
context-path: ${CONTEXT_PATH:}
spring:
application:
name: @project.artifactId@
profiles:
active:
- ${SPRING_PROFILES_ACTIVE:local}
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${DB_URL}/${DB_NAME}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
hikari:
minimum-idle: 5
maximum-pool-size: 20
idle-timeout: 30000
max-lifetime: 1800000
liquibase:
change-log: classpath:/db/changelog/db.changelog-master.yaml
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
logging:
level:
root: info
net.rzdata: debug
com.baomidou.example.mapper: debug