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
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.
Comments
Similar requests
Add support for default values in the Repeater interface
1 vote · 0 comments
Default Field Values per Language
2 votes · 0 comments
Defaultvalue on "Many to Many" fields.
5 votes · 0 comments
Reset to Default Button for Collection Presets
15 votes · 0 comments
Possibility to change the default names, off fields.
3 votes · 0 comments
No comments yet.