2
0

.env.example 726 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # 多八多Aider 环境变量配置模板
  2. # ========================
  3. # 服务器配置
  4. # ========================
  5. # 应用基础配置
  6. APP_NAME=多八多Aider
  7. PORT=8080
  8. NODE_ENV=development
  9. BASE=/
  10. # 数据库配置 (PostgreSQL)
  11. DB_HOST=localhost
  12. DB_PORT=5432
  13. DB_DATABASE=d8dai
  14. DB_USERNAME=postgres
  15. DB_PASSWORD=your_password_here
  16. # Redis配置
  17. REDIS_HOST=localhost
  18. REDIS_PORT=6379
  19. REDIS_PASSWORD=
  20. # MinIO对象存储配置
  21. MINIO_ENDPOINT=localhost
  22. MINIO_PORT=9000
  23. MINIO_ACCESS_KEY=your_access_key
  24. MINIO_SECRET_KEY=your_secret_key
  25. MINIO_BUCKET=d8dai
  26. MINIO_USE_SSL=false
  27. # OSS配置
  28. OSS_BASE_URL=https://oss.d8d.fun
  29. # JWT配置
  30. JWT_SECRET=your_jwt_secret_here
  31. JWT_EXPIRE=7d
  32. # 复制此文件为 .env 并修改相应配置