| ============================================================================= | |
| Anuma 2API Gateway — Environment Configuration | |
| ============================================================================= | |
| Copy this file to .env and fill in your values: | |
| cp .env.example .env | |
| ============================================================================= | |
| # --- Required --- | |
| YYDS / 215.im Mail API key (get it from https://215.im dashboard) | |
| MAIL_API_KEY=your-mail-api-key-here | |
| # --- Optional --- | |
| Custom mail API base URL (default: https://maliapi.215.im/v1) | |
| MAIL_API_BASE_URL=https://maliapi.215.im/v1 | |
| # SOCKS5 proxy for Anuma API requests (leave empty for direct connection) | |
| Format: socks5://username:password@proxy-host:port | |
| SOCKS5_PROXY= | |
| # Database file path (default: ./privy_manager.db) | |
| DB_PATH=/data/privy_manager.db | |
| # Server configuration | |
| MANAGER_PORT=7894 # Web UI port | |
| API_PORT=7895 # 2API gateway port | |
| API_HOST=0.0.0.0 | |
| # Registration defaults (can be changed in Web UI) | |
| DEFAULT_TOTAL=10 | |
| DEFAULT_CONCURRENCY=3 | |
| DEFAULT_TIMEOUT=180 |