# 复制为 application-prod.yml 后部署；所有敏感值均由环境变量注入。
spring:
  datasource:
    hikari:
      connection-init-sql: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: ${DB_USERNAME}
    password: ${DB_PASSWORD}
    url: ${DB_URL}
  jpa:
    database: MYSQL
    database-platform: org.hibernate.dialect.MySQL57Dialect
    show-sql: false

file:
  path:
    file: ${FILE_PATH}
    image: ${IMAGE_PATH}
    tmp: ${TMP_PATH}
  source:
    fonts: ${FONTS_PATH}

logging:
  file:
    path: ${LOG_PATH}
