Skip to main content
The Pikarc backend is configured via environment variables with the PIKARC_ prefix. Settings can also be loaded from a .env file.

Database

The connection URL is computed as:

Redis

Redis is used for the guardrail cache layer — spend counters, concurrent run tracking, and kill switch state.

Authentication

Always change PIKARC_JWT_SECRET in production. The default value is insecure.

Stripe (Optional)

When PIKARC_STRIPE_SECRET_KEY is not configured, the billing system degrades gracefully — plan changes happen via direct database updates with no payment required. This is the default for local development.

Email (Optional)

When PIKARC_RESEND_API_KEY is not configured, emails are logged to the console instead of sent.

Application

Frontend

The frontend has a single environment variable:

Example .env File