Configuration
HarborGuard is configured through environment variables.
Required Variables
| Variable | Description |
|---|---|
DATABASE_URL | PostgreSQL connection string |
REDIS_URL | Redis connection string |
NEXTAUTH_SECRET | Random secret for JWT signing |
NEXTAUTH_URL | Public URL of your HarborGuard instance |
ENCRYPTION_KEY | AES-256 key for credential encryption |
Optional Variables
| Variable | Description |
|---|---|
SENDGRID_API_KEY | SendGrid API key for email notifications |
STRIPE_SECRET_KEY | Stripe secret key for billing |
STRIPE_WEBHOOK_SECRET | Stripe webhook signing secret |
FLY_API_TOKEN | Fly.io API token for cloud scans |
HG_SENSOR_IMAGE | Docker image for the scanner container |