增添env,LICENSE
This commit is contained in:
17
.env.example
Normal file
17
.env.example
Normal 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
|
||||
Reference in New Issue
Block a user