Configuration

From DreamFactory
Jump to: navigation, search
DFEConfiguration

Please 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_OPEN_REGISTRATION

By default, users are not able to self-register on the DFE Console. To change this behavior, set the `DFE_OPEN_REGISTRATION` 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. 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

Allow User 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 the `DFE_ALLOW_IMPORT_UPLOADS` to `true`.

Instances