# 本地开发环境配置 spring: cloud: nacos: discovery: server-addr: localhost:8848 namespace: group: DEFAULT_GROUP enabled: true username: nacos password: nacos metadata: version: 1.0.0 zone: local register-enabled: true ephemeral: true cluster-name: DEFAULT service: ${spring.application.name} weight: 1 heart-beat-interval: 5000 heart-beat-timeout: 15000 ip-delete-timeout: 30000 config: server-addr: localhost:8848 namespace: group: DEFAULT_GROUP file-extension: yml enabled: false username: nacos password: nacos # 数据源配置 datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/emotion_museum?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true username: root password: 123456 # Redis配置 data: redis: host: localhost port: 6379 password: database: 0 # Coze平台配置 coze: base-url: https://api.coze.cn api-key: your-coze-api-key bot-id: 7523042446285439016 workflow-id: 7523047462895796287 user-id: emotion-museum-user token: pat_GCR4qKzqpf90wMCvKsldMrB18KG3QsLDci65bZthssKsbLxu8X70BKYumleDcabO timeout: 60 max-retries: 3 stream: false model: temperature: 0.7 max-tokens: 1000 top-p: 0.9 frequency-penalty: 0.0 presence-penalty: 0.0 # 功能开关配置 features: emotion-analysis: enabled: false auto-analyze: false chat: enabled: true stream: false # 日志配置 logging: level: com.emotionmuseum: debug com.baomidou.mybatisplus: debug com.alibaba.nacos: info file: name: logs/emotion-ai-local.log