Skip to Content
πŸŽ‰ EZMON v0.1.19 is released. Visit ezmon.web.id β†’
InstallationEnvironment Variables

Environment Variables Reference

Hub (apps/web/.env.local / Vercel Environment Variables)

VariableRequiredExample / DefaultDescription
DATABASE_URLβœ…postgresql://user:pass@host/db?sslmode=requirePostgreSQL Connection String (Neon, Supabase, RDS, etc)
NEXTAUTH_SECRETβœ…openssl rand -base64 32JWT session encryption key (min 32 characters)
NEXTAUTH_URLβœ…https://your-hub.vercel.appCanonical public URL of the Hub
CRON_SECRETβœ…openssl rand -base64 32Bearer Auth token protecting /api/internal/evaluate
NEXT_PUBLIC_APP_URL❌https://your-hub.vercel.appPublic domain URL for status pages & CORS origins
SMTP_HOST❌smtp.resend.comSMTP host for sending registration OTP emails
SMTP_PORT❌587SMTP server port
SMTP_USER❌resendSMTP authentication username
SMTP_PASS❌re_...SMTP password or API key
SMTP_FROM❌EZMON <noreply@domain.com>Sender email address for registration OTPs

Deprecated Note: WORKER_SECRET has been deprecated and replaced by CRON_SECRET starting in EZMON v0.1.14+.


Agent (Environment Variables on Host Linux)

VariableRequiredDefaultDescription
EZMON_SERVER_URLβœ…β€”EZMON Hub URL (e.g. https://your-hub.vercel.app)
EZMON_AGENT_TOKENβœ…β€”Registration token or permanent agent token
EZMON_AGENT_NAME❌System hostnameCustom node display name shown in dashboard
EZMON_HEARTBEAT_INTERVAL❌30Heartbeat push frequency (in seconds)
Last updated on