add
This commit is contained in:
35
.env
Normal file
35
.env
Normal file
@@ -0,0 +1,35 @@
|
||||
# Redis配置
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
|
||||
# MySQL配置
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=root
|
||||
DB_PASSWORD=your_password
|
||||
DB_DATABASE=exchange_monitor
|
||||
DB_POOL_SIZE=10
|
||||
DB_MAX_OVERFLOW=20
|
||||
DB_POOL_RECYCLE=3600
|
||||
|
||||
# SQLAlchemy配置
|
||||
SQLALCHEMY_ECHO=false
|
||||
SQLALCHEMY_ECHO_POOL=false
|
||||
|
||||
# 同步配置
|
||||
SYNC_INTERVAL=60
|
||||
RECENT_DAYS=3
|
||||
CHUNK_SIZE=1000
|
||||
ENABLE_POSITION_SYNC=true
|
||||
ENABLE_ORDER_SYNC=true
|
||||
ENABLE_ACCOUNT_SYNC=true
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=INFO
|
||||
LOG_ROTATION=10 MB
|
||||
LOG_RETENTION=7 days
|
||||
|
||||
# 计算机名(用于过滤账号)
|
||||
COMPUTER_NAME=lz_c01
|
||||
Reference in New Issue
Block a user