You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buffer_platform/.env

39 lines
651 B

# 期货智析缓冲平台 - 环境配置
# 数据库配置
BUFFER_DB_PATH=/app/data/buffer.db
# 服务配置
BUFFER_HOST=0.0.0.0
BUFFER_PORT=8600
# 缓存配置(秒)
CACHE_TTL=300
# 日志级别 (DEBUG/INFO/WARNING/ERROR/CRITICAL)
BUFFER_LOG_LEVEL=INFO
# 并发采集数
MAX_WORKERS=2
# Docker端口映射
HOST_PORT=9600
CONTAINER_PORT=8600
# 数据目录
DATA_DIR=E:\docker_workspace\futures_datas
# MySQL 配置
MYSQL_HOST=192.168.0.222
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=1qazse42W3
MYSQL_DATABASE=buffer_platform
# Redis 配置
REDIS_HOST=192.168.0.222
REDIS_PORT=6380
REDIS_DB=1
REDIS_PASSWORD=
REDIS_TTL_SECONDS=2592000