I am trying to organise phpunit to work inside the docker container, both on the command line and via the browser.
What is the best way to find the port of my site’s MySql instance.
Could some of this configuration information be made available in the environment variables when opening an SSH shell, or for the www-data user available via getenv() in php code.