Environment Variables
You can configure your Directus project using a number of environment variable presets which can be configured in the Cloud dashboard.
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