增添env,LICENSE

This commit is contained in:
DengDai
2025-12-08 14:24:03 +08:00
parent 6066ce4169
commit 67b0a0f6b9
2 changed files with 678 additions and 0 deletions

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# Flask App
FLASK_APP=run.py
FLASK_CONFIG=development
FLASK_DEBUG=1
SECRET_KEY='bM2qE6aA0mB1iI0llaG0aM1bL1aI2eA6'
# 数据库 (MySQL) - 请替换为你的真实配置
DB_USER='pt_blacklist'
DB_PASSWORD='password'
DB_HOST='127.0.0.1'
DB_NAME='pt_blacklist'
# Redis for Session
REDIS_URL='redis://127.0.0.1:6379/0'
# 日志配置
LOG_RETENTION_DAYS=7