spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.1.250:3306/competition_management?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true username: lesingle-creation-test password: 8ErFZiPBGbyrTHsy type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 5 min-idle: 5 max-active: 20 max-wait: 60000 data: redis: host: ${REDIS_HOST:192.168.1.250} port: ${REDIS_PORT:6379} password: ${REDIS_PASSWORD:QWErty123} database: ${REDIS_DB:8} timeout: 5000ms lettuce: pool: max-active: 20 max-idle: 20 min-idle: 5 max-wait: -1ms 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 # 乐读派 AI 创作系统配置 leai: org-id: ${LEAI_ORG_ID:gdlib} app-secret: ${LEAI_APP_SECRET:leai_mnoi9q1a_mtcawrn8y} api-url: ${LEAI_API_URL:http://192.168.1.72:8080} h5-url: ${LEAI_H5_URL:http://192.168.1.72:3001}