Environment Variables
Complete reference for all HeySummon configuration variables.
Required
| Variable | Description |
|---|---|
DATABASE_URL | Database connection string. SQLite: file:./dev.db, PostgreSQL: postgresql://user:pass@host:5432/hitlaas |
NEXTAUTH_URL | Public URL of your instance (e.g., https://hitlaas.yourdomain.com) |
NEXTAUTH_SECRET | Random secret for session encryption (min 32 chars) |
OAuth (Optional)
| Variable | Description |
|---|---|
AUTH_GITHUB_ID | GitHub OAuth App client ID |
AUTH_GITHUB_SECRET | GitHub OAuth App client secret |
AUTH_GOOGLE_ID | Google OAuth client ID |
AUTH_GOOGLE_SECRET | Google OAuth client secret |
At least one OAuth provider should be configured for dashboard access.
Connectivity (Optional)
| Variable | When | Description |
|---|---|---|
CONNECTIVITY_METHOD | Always | cloudflare, tailscale, ngrok, or direct |
CLOUDFLARE_TUNNEL_TOKEN | Cloudflare | Tunnel token from dashboard |
TAILSCALE_AUTHKEY | Tailscale | Reusable auth key |
NGROK_AUTHTOKEN | Ngrok | Auth token from ngrok dashboard |
NGROK_DOMAIN | Ngrok | Custom domain (paid plans) |
Example .env.local
DATABASE_URL="file:./dev.db"
NEXTAUTH_SECRET="your-random-secret-at-least-32-chars"
NEXTAUTH_URL="http://localhost:3000"
# GitHub OAuth
AUTH_GITHUB_ID="your-github-client-id"
AUTH_GITHUB_SECRET="your-github-client-secret"
# Google OAuth
AUTH_GOOGLE_ID="your-google-client-id"
AUTH_GOOGLE_SECRET="your-google-client-secret"