InkApex docs
Reference

Environment

The variables each app reads. The .env.example files hold the full list with comments.

API (apps/api)

VariableDefault
APP_ENVdevelopmentdevelopment, test, staging or production
DATABASE_URLpglite://.data/pglitepostgres://… when deployed
AUTH_SECRETdevelopment valueAt least 32 random characters; required when deployed
API_URL, APP_URL, ADMIN_URL, SITE_URLlocalhostPublic URLs of each app
EMAIL_PROVIDERconsoleresend, postmark or smtp when deployed
STORAGE_DRIVERlocals3 or azure
BILLING_PROVIDERSnonee.g. stripe,lemonsqueezy
QUEUE_DRIVERpostgresrabbitmq, kafka or pubsub
WORKER_INLINEtruefalse to run jobs only in workers
ADMIN_REQUIRE_TWO_FACTORtrue
CONTACT_EMAILnoneWhere contact form messages go
TURNSTILE_SECRETnoneRequires Cloudflare Turnstile on public forms

Dashboard, admin and site

Variable
NEXT_PUBLIC_API_URLThe API
NEXT_PUBLIC_APP_URLThe dashboard (admin portal and site)
NEXT_PUBLIC_ADMIN_URLThe admin portal (dashboard)
NEXT_PUBLIC_SITEWhich site pack the marketing site builds
NEXT_PUBLIC_ANALYTICS_SRCAn analytics script, loaded only after consent

On this page