Files
sentclaw/.env.example
T
2026-04-07 16:05:05 +08:00

44 lines
844 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MySQL 配置
MYSQL_ROOT_PASSWORD=root123
MYSQL_DATABASE=sentclaw
MYSQL_USER=sentclaw
MYSQL_PASSWORD=sentclaw123
MYSQL_PORT=3306
# Redis 配置
REDIS_PASSWORD=redis123
REDIS_PORT=6379
# 后端配置
FLASK_ENV=development
FLASK_DEBUG=True
FLASK_HOST=0.0.0.0
FLASK_PORT=5000
SECRET_KEY=your-secret-key-change-this-in-production
# 数据库连接(Flask
DATABASE_URL=mysql+pymysql://sentclaw:sentclaw123@localhost:3306/sentclaw
# Redis 连接
REDIS_URL=redis://:redis123@localhost:6379/0
# LLM 配置
DASHSCOPE_API_KEY=
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
# JWT 配置
JWT_SECRET_KEY=your-jwt-secret-key-change-this
JWT_ACCESS_TOKEN_EXPIRES=3600
# 文件上传
UPLOAD_FOLDER=uploads
MAX_CONTENT_LENGTH=16777216
# 日志配置
LOG_LEVEL=INFO
LOG_FILE=logs/app.log
# CORS 配置
CORS_ORIGINS=http://localhost:5173,http://localhost:3000