Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

Environment Variables

You can configure your Directus project using a number of environment variable presets which can be configured in the Cloud dashboard.

Cloud dashboard project configuration screen showing a number of configurable settings such as CORS and maximum file upload size.

Redeployment

Once you save these changes, your project will redeploy.

Available Configuration Options

While the Cloud dashboard provides configuration via a UI with some preset options, the options relate to the following environment variables:

Files

  • FILES_MAX_UPLOAD_SIZE

Read more about Upload Limit environment variables.

Security

  • PASSWORD_RESET_URL_ALLOW_LIST
  • USER_INVITE_URL_ALLOW_LIST
  • USER_REGISTER_URL_ALLOW_LIST

Read more about Security environment variables.

CORS

  • CORS_ENABLED
  • CORS_ORIGIN
  • CORS_METHODS
  • CORS_ALLOWED_HEADERS
  • CORS_EXPOSED_HEADERS
  • CORS_CREDENTIALS
  • CORS_MAX_AGE

Read more about CORS environment variables.