I've dumped all the Magento configs with
php bin/magento app:config:dump. All the configs are in env.php and config.php now. I've committed the config.php to version control.
My question is: How can I move settings from config.php to env.php? Is there a CLI command for this?
For example; my sphinx IP address is now in config.php, this causes problems because our staging env has a different IP address then our production env. So this setting should not be shared (and therefore should not be in config.php).
What's the best way to solve this problem? I'm using Magento 2.2.3.