FeatureFuel
3

Simplify default env-template

Source: directus/directus#22324 · opened by @Dominic-Marcelino
Describe the Request

The current [env-template]( contains some of the most important configurations as well a link to all config options.

When creating a new project it feels wrong that:
• some of the settings in the template are explicitly set to the default values
• while others simply aren't included (and therewith use the defaults too)
• and others set different values than the default ones.

As directus global defaults (in the code) are set for a good security I'd suggest to clean this up to only include:

1. required configs / configs that should be in most of the cases (like mail)
2. Configs which most likely should be changed in dev (e.g the CORS, EXTENSIONS_AUTO_RELOAD, or all storage & mail related) with a comment


To keep it further cleaner I' recommend to not include that many examples for e.g db, storage and mail but just have the comment



Looking forward to your feedback!


Maintainence Strategy

n/A

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests