Blame view

.env.example 724 Bytes
fb68a0ef   tangwang   配置优化
1
  # Environment Configuration Template
be52af70   tangwang   first commit
2
3
4
5
  # Copy this file to .env and update with your actual values
  
  # Elasticsearch Configuration (v8.18)
  ES_HOST=http://localhost:9200
fb68a0ef   tangwang   配置优化
6
7
  ES_USERNAME=
  ES_PASSWORD=
be52af70   tangwang   first commit
8
9
10
11
  
  # Redis Configuration (for caching)
  REDIS_HOST=localhost
  REDIS_PORT=6479
fb68a0ef   tangwang   配置优化
12
  REDIS_PASSWORD=
be52af70   tangwang   first commit
13
14
  
  # DeepL Translation API
fb68a0ef   tangwang   配置优化
15
  DEEPL_AUTH_KEY=
be52af70   tangwang   first commit
16
  
be52af70   tangwang   first commit
17
18
  # API Service Configuration
  API_HOST=0.0.0.0
2a76641e   tangwang   config
19
  API_PORT=6002
be52af70   tangwang   first commit
20
21
  
  # Embedding Models
38f530ff   tangwang   文档完善
22
23
  TEXT_MODEL_DIR=/data/tw/models/bge-m3 # 已经改为web请求了,不使用本地模型
  IMAGE_MODEL_DIR=/data/tw/models/cn-clip # 已经改为web请求了,不使用本地模型
be52af70   tangwang   first commit
24
25
26
  
  # Cache Directory
  CACHE_DIR=.cache
fb68a0ef   tangwang   配置优化
27
28
29
30
31
32
33
  
  # MySQL Database Configuration (Shoplazza)
  DB_HOST=
  DB_PORT=3306
  DB_DATABASE=
  DB_USERNAME=
  DB_PASSWORD=