# 服务器配置 server: port: 8771 # Spring Boot 应用配置 spring: # 应用基本信息 application: name: lanecarford-ai-styling-assistant # 数据源配置 - MySQL datasource: url: jdbc:mysql://localhost:3306/lanecrawford?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai username: root password: root driver-class-name: com.mysql.cj.jdbc.Driver # HikariCP 连接池配置 hikari: maximum-pool-size: 20 minimum-idle: 5 idle-timeout: 300000 max-lifetime: 1200000 connection-timeout: 20000 # redis 配置 data: redis: host: 127.0.0.1 port: 6379 database: 3 # password: Aidlab lettuce: pool: max-active: 8 max-idle: 8 min-idle: 0 max-wait: 5 security: jwtSecret: TXacaath8k63fQMAkfuRk3s5GTZyjRpS jwtTokenHeader: Authorization jwtTokenPrefix: Bearer- jwtExpiration: 604800000 # MyBatis-Plus 配置 mybatis-plus: configuration: map-underscore-to-camel-case: true # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: logic-delete-field: deleted logic-delete-value: 1 logic-not-delete-value: 0 mapper-locations: classpath*:/mapper/**/*.xml # Swagger 文档配置 springdoc: api-docs: path: /api-docs swagger-ui: path: /swagger-ui.html enabled: true # MinIO 对象存储配置 minio: endpoint: https://www.minio-api.aida.com.hk access-key: admin secret-key: Aidlab123123! bucket-name: lanecarford # 文件访问URL前缀 url-prefix: ${minio.endpoint}/${minio.bucket-name}/ # 换脸API配置 faceswap: api: base-url: http://18.167.251.121:10004 reface-endpoint: /api/v1/reface # 日志配置 logging: level: com.aida.lanecarford: DEBUG tencent: secret-id: AKID52lRwDIBsLaZLtDI9m9LJMAj36wYw50i secret-key: XqujLlywhHfrqcCYfYVHtNgmeIiwxkKf sender: info@aida.com.hk webhook: domain: https://0dd6f6504aff.ngrok-free.app google: client_id: 216037134725-7q8vqp0ohtmohlosltkfg7bd2v29rm5a.apps.googleusercontent.com client_secret: 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