I keep an arbitrary amount of .env files and symlimk to whatever the proper one is for the environment. You can do that with any config file, more or less.