outlook2api / .env.example
ohmyapi's picture
feat: admin panel overhaul — self-contained CSS, SMTP send, redesigned homepage
bbc9b9b
raw
history blame contribute delete
901 Bytes
# === Mail API ===
OUTLOOK2API_JWT_SECRET=change-me-in-production
OUTLOOK2API_HOST=0.0.0.0
OUTLOOK2API_PORT=8001
ADMIN_PASSWORD=bk@3fd3E
# === SMTP (for sending email from admin panel) ===
OUTLOOK_SMTP_HOST=smtp-mail.outlook.com
OUTLOOK_SMTP_PORT=587
# === Database ===
# SQLite (default, no setup needed):
DATABASE_URL=sqlite+aiosqlite:///./data/outlook2api.db
# PostgreSQL (production):
# DATABASE_URL=postgresql://user:pass@host:5432/outlook2api
# === Registration (captcha) ===
CAPTCHA_CLIENT_KEY= # YesCaptcha / CapSolver API key
CAPTCHA_CLOUD_URL=https://api.yescaptcha.com
FUNCAPTCHA_PUBLIC_KEY=B7D8911C-5CC8-A9A3-35B0-554ACEE604DA
# === Optional ===
PROXY_URL= # HTTP/SOCKS5 proxy for registration
# === CI Auto-Import ===
# Set OUTLOOK2API_URL in GitHub Actions to auto-import registered accounts
# OUTLOOK2API_URL=https://ohmyapi-outlook2api.hf.space