alphax/.env.example
2026-05-14 10:29:18 +08:00

32 lines
1.0 KiB
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.

# AlphaX Docker 环境变量示例
# 复制为 .env 后再按需填写cp .env.example .env
# Web 服务端口由 docker-compose 映射为宿主机 8191 -> 容器 8190。
PORT=8190
# 容器调度器默认 dry-run避免首次启动就写库/推送。
# 验证完成后再改为 0。
ALPHAX_SCHEDULER_DRY_RUN=1
# SQLite DB 路径。容器内默认 /app/data/altcoin_monitor.db。
ALPHAX_DB_PATH=/app/data/altcoin_monitor.db
# 全新空库启动时创建默认管理员。已有用户/迁移旧库时不会覆盖。
ALPHAX_BOOTSTRAP_ADMIN=1
ALPHAX_DEFAULT_ADMIN_EMAIL=admin@alphax.local
ALPHAX_DEFAULT_ADMIN_PASSWORD=AlphaXAdmin123
# 飞书机器人 Webhook。不要把真实值提交到仓库。
# ALTCOIN_FEISHU_WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/REDACTED
ALTCOIN_FEISHU_WEBHOOK=
# 邮箱验证码 SMTP 配置。没有配置时,注册验证码只会生成,不会发邮件。
ASTOCK_SMTP_HOST=
ASTOCK_SMTP_PORT=465
ASTOCK_SMTP_USERNAME=
ASTOCK_SMTP_PASSWORD=
ASTOCK_SMTP_SENDER=
# 可选:时区
TZ=Asia/Shanghai