spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:competition_management}?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false username: ${DB_USERNAME:root} password: ${DB_PASSWORD:} type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 5 min-idle: 5 max-active: 20 max-wait: 60000 data: redis: host: ${REDIS_HOST:localhost} port: ${REDIS_PORT:6379} password: ${REDIS_PASSWORD:} database: 0 flyway: clean-disabled: false # 开发环境开启 SQL 日志 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl oss: secret-id: ${COS_SECRET_ID:} secret-key: ${COS_SECRET_KEY:} bucket: ${COS_BUCKET:} region: ${COS_REGION:ap-guangzhou} url-prefix: ${COS_URL_PREFIX:} logging: level: com.competition: debug