How to dynamically change database from local to external inside docker-compose
I'm trying to configure my docker-compose file so that it automatically connects to the right database depending on the credentials provided in the .env file. Connecting to the local database doesn't cause any problems, but connecting to the remote one…