S
Sheba ISP ERPDOCS
Reference

Environment Variables Quick Reference

Quick lookup table for all backend and frontend configuration flags.

Environment Variables Quick Reference

IMPLEMENTED

VariableEnvironmentDefaultDescription
ENVIRONMENTBackendlocallocal vs production security toggle
DEBUGBackendTrueDjango debug mode (Must be False in prod)
SECRET_KEYBackenddjango-insecure-...64-character cryptographic signing key
ALLOWED_HOSTSBackend*Permitted incoming HTTP Host headers
DATABASE_URLBackendsqlite:///db.sqlite3PostgreSQL connection string
REDIS_URLBackend''Redis cache and message broker URI
CORS_ALLOWED_ORIGINSBackendhttp://localhost:3000Whitelisted frontend web origins
LOG_LEVELBackendINFOLogger verbosity (DEBUG, INFO, WARNING)
NEXT_PUBLIC_API_URLFrontendhttp://localhost:8000/api/v1Backend API URL for client fetch requests
NEXT_PUBLIC_DEFAULT_TENANT_IDFrontendshebafiFallback tenant identifier in local dev

On this page