Files
claude-outlonok/.env.example
huangzhenpc e96b2e1b4a Add Redis caching, email refresh button, optimize page loading
- Add Redis service (docker-compose) for caching accounts, messages, payment status
- Cache accounts list (5min), messages (3min), payment status (10min)
- Auto-invalidate cache on import/delete/payment-check/note-update
- Add refresh button to email list panel (force re-fetch from IMAP)
- Messages API supports refresh=true param to bypass cache
- New cache.py module with RedisCache class

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-06 01:26:42 +08:00

23 lines
551 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Outlook邮件管理系统环境配置
# 复制此文件为 .env 并修改相应配置
# 管理员访问令牌(请修改为安全的密码)
ADMIN_TOKEN=admin123
# 服务器端口默认5000
SERVER_PORT=5000
# 服务器主机默认0.0.0.0,接受所有连接)
SERVER_HOST=0.0.0.0
# Redis缓存地址Docker内部自动连接无需修改
REDIS_URL=redis://redis:6379/0
# 时区设置
TZ=Asia/Shanghai
# 日志级别DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# 是否启用详细日志
VERBOSE_LOGGING=false