Configuration

InfraPilot is configured through a .env file in the installation directory.

Core environment variables

DATABASE_URLrequired
PostgreSQL connection string
REDIS_URLrequired
Redis connection string
NEXTAUTH_SECRETrequired
32+ character random secret for session signing
NEXTAUTH_URLrequired
Public URL of the dashboard (e.g. https://infra.example.com)
SMTP_HOST
SMTP server hostname for transactional emails
SMTP_PORT
SMTP server port (default: 587)
SMTP_USER
SMTP authentication username
SMTP_PASS
SMTP authentication password
STRIPE_SECRET_KEY
Stripe secret key for billing (optional)

Nginx & SSL

InfraPilot manages Nginx configuration through its visual interface. To expose your dashboard over HTTPS, add a reverse proxy entry pointing to localhost:3000 and enable Let's Encrypt. SSL certificates are renewed automatically 30 days before expiry.

Still need help?

Open an issue on GitHub or reach out to our support team.