# 复制为 application-dev.yml 后按开发环境填写；真实文件已被 .gitignore 排除。
spring:
  datasource:
    hikari:
      connection-init-sql: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: ${DB_USERNAME:root}
    password: ${DB_PASSWORD:}
    url: ${DB_URL:jdbc:mysql://127.0.0.1:3306/mjava_harrison?useUnicode=true&characterEncoding=utf8}
  jpa:
    database: MYSQL
    database-platform: org.hibernate.dialect.MySQL57Dialect
    show-sql: false

file:
  path:
    file: ${FILE_PATH:./data/files}
    image: ${IMAGE_PATH:./data/images}
    tmp: ${TMP_PATH:./data/tmp}
  source:
    fonts: ${FONTS_PATH:./data/fonts}

logging:
  file:
    path: ${LOG_PATH:./logs}
