Michael Yang
2025-05-22 f5cd77db285da6e89b825c24c33659e25d0e8781
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
server:
  port: 8080
  address: 0.0.0.0
spring:
  profiles:
    active: dev
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/aiflowy?useInformationSchema=true&characterEncoding=utf-8
    username: root
    password: 123456
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  web:
    resources:
      static-locations: classpath:/public
  mvc:
    static-path-pattern: /static/**
  quartz:
    startup-delay: 1
    job-store-type: jdbc
    properties:
      org:
        quartz:
          jobStore:
            misfireThreshold: 1000
          threadPool:
            threadCount: 20
            threadPriority: 5
aiflowy:
  storage:
    type: local
    s3:
      access-key: key
      secret-key: secret
      endpoint: your-endpoint
      region: your-region
      bucket-name: your-bucket-name
      access-policy: 2
      prefix: public
    local:
      root: ''
  ollama:
    host: http://127.0.0.1:11434
  login:
    excludes: /api/v1/auth/**, /static/**
node:
  reader: 'defaultReader'
  gitee:
    appKey: 'xxx'
  # 搜索引擎节点 - 目前只支持博查搜索
  bochaai:
    apiKey: 'xxx'
jetcache:
  # 缓存类型,可选值:local/remote/both CacheConfig 类初始化
  cacheType: local
  statIntervalMinutes: 15
  areaInCacheName: false
  local:
    default:
      type: linkedhashmap
      keyConvertor: fastjson
  remote:
    default:
      type: redis
      keyConvertor: fastjson2
      broadcastChannel: projectA
      valueEncoder: java
      valueDecoder: java
      poolConfig:
        minIdle: 5
        maxIdle: 20
        maxTotal: 50
      host: 127.0.0.1
      port: 6379
      password: pwd
      database: 0
 
logging:
  file:
    path: .logs/
    name: aiflowy.log
  level:
    root: info
    tech.aiflowy.ai: debug