baoxiang/backend/.env

18 lines
378 B
Bash
Raw Normal View History

2025-12-18 13:28:29 +08:00
# 这是一个示例.env文件用于说明环境变量的格式
# 在生产环境中,请使用环境变量而不是这个文件
2025-12-16 18:06:50 +08:00
2025-12-18 13:28:29 +08:00
# 数据库配置
DB_DATABASE_URL=mysql+pymysql://root:taiyi1224@199.68.217.236:3306/baoxiang
2025-12-16 18:06:50 +08:00
DB_POOL_SIZE=20
2025-12-18 13:28:29 +08:00
# 安全配置
2025-12-16 18:06:50 +08:00
SECRET_KEY=qwer123
# Redis配置
2025-12-18 13:28:29 +08:00
REDIS_HOST=199.68.217.236
2025-12-16 18:06:50 +08:00
REDIS_PORT=6379
2025-12-18 13:28:29 +08:00
# 服务器配置
HOST=0.0.0.0
PORT=8000