Open cfoellmann opened 8 months ago
@tiredofit you know your docker-nginx-php-fpm better: is there an easy way to modify the fpm config to set clear_env = no
?
I don't think it exists as an environment variable to be easily switchable but it could be. Did you want to try submitting a PR for it?
I have as a long term nagging todo to create functionality to support includes of extra configuration files just for it, but waiting for a client to come along to have a need for it.
I will integrate https://github.com/vlucas/phpdotenv OR https://github.com/scottjs/wp-dotenv like described here https://m.dotdev.co/secure-your-wordpress-config-with-dotenv-d939fcb06e24 https://erikpoehler.com/2020/12/30/using-an-env-file-for-database-and-other-credentials/
I will let you know how and maybe it is interesting enough for you to integrate.