Skip to main content

Required env variables for WEB

The following env variables are required for the web frontend to run. If you miss any of the required variable, you should see the web startup fail with a [WEB] Environment variable error similar to below example web error

Required variables

NameTypeExample
NEXT_PUBLIC_APP_ENVstringNEXT_PUBLIC_APP_ENV=local
BASE_URLurlBASE_URL=http://localhost:3000
NEXT_PUBLIC_BASE_URLurlNEXT_PUBLIC_BASE_URL=http://localhost:3000
BACKEND_API_URLurlBACKEND_API_URL=http://localhost:3001
NEXTAUTH_URLurlNEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRETstringNEXTAUTH_SECRET=secret123