spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Why "caching" config in files? #298

Closed fibis closed 3 years ago

fibis commented 3 years ago

Is there a reason why the mailcoach config is cached and stored in files in the config-mailcoach-app folder? For deployments like on Kubernetes are stateless deployments always easier to handle. This is not possible when configuration files are written to the file system that need to survive a container restart.

freekmurze commented 3 years ago

The full app is meant to be used by users that don't want to tinker with the normal Laravel config. That's why we store it in a json file and don't work via the default config files.