I have two container, one is running mysql and the second one is running apache2+php.
docker-compose to build and run the two containers.
On the apache container, I need the host, the username and the password to access to the mysql instance.
What should I do in this case? should I declare the three parameters as enviroment variable and pass throu the docker-compose.yml ?