Drop .env support? #5773
-
I was using Shields as a demo of Namely, we're using However, in both of those environments, setting config is equally possible by checking in a The purpose of the env var mapping is really to provide a convenient way to manage config through env vars rather than a in a (config) file. So the time to use it is when you don't want to check in config. If you are checking in / storing config in a file, the preferred way to do it would be through a Does that make sense? I'd propose we remove the dotenv support, and perhaps clarify that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This makes sense to me, I agree that we should drop .env support. Some existing self-hosted users may use that configuration format, so we should probably first communicate about it, put a deprecation warning on startup for a few weeks/months, and then finally completely drop support. |
Beta Was this translation helpful? Give feedback.
-
Following merger of #5864, we've officially dropped support for .env files. The Shields service will log an error and abort start up if such a file is detected. If you're hosting your own Shields instance, you'll either have to:
Please refer to our documentation for more information. |
Beta Was this translation helpful? Give feedback.
Following merger of #5864, we've officially dropped support for .env files. The Shields service will log an error and abort start up if such a file is detected.
If you're hosting your own Shields instance, you'll either have to:
config/local.yml
file.Please refer to our documentation for more information.