Configuration
Contents
Note
Unless otherwise specified, all configuration settings on this page are to be made in the .env
file of the application in question. Each application has a file named .env
in its root directory.
Console
DFE_INSTANCE_API_LOGIN_REQUIRED
If true, admin credentials are required to use of DFE Console command line utilities
DFE_INSTANCE_API_KEY
An API key to use for communications instead of provisioning channel
DFE_INSTANCE_API_HEADER
The header to use when transmitting the API key. Defaults to X-DreamFactory-API-Key
DFE_OPEN_REGISTRATION
By default, users are not able to self-register on the DFE Console. To change this behavior, set this variable to true
.
DFE_CLOSED_ROUTE
When self-registration is disabled (the default), users are directed to specific route. The default is to send them back to the login page (auth/login
). Changing this variable selects the route to which users are redirected.
DFE_METRICS_KEEP_DAYS
The system gathers metrics daily for reporting. This information is kept for 365 days by default. Changing this variable will set the number of days which metrics information is kept.
DFE_DEFAULT_DOMAIN_PROTOCOL
By default, a basic DFE installation does not have SSL configured. There are outside dependencies that are beyond the scope of the installation utility. However, once you're in possession of an SSL certificate and want DFE to produce https SSL URLs, change this variable to https
from http
.
DFE_SNAPSHOT_DAYS_TO_KEEP
By default, all user-created exports have a shelf life of 30 days. The daily maintenance task removes expired snapshots. If you wish to lengthen or shorten this time frame, simply change the value of this variable.
Dashboard
DFE_OPEN_REGISTRATION
By default, users are able to self-register on the DFE Dashboard. To change this behavior, set this variable to false
.
DFE_ALLOW_IMPORT_UPLOADS
By default, dashboard users are not allowed to upload their own personal export files. The system manages a list of exports it has created, and by default, users may choose only from that list.
If you wish to allow your users to upload their own export files, set the value of this variable true
.