phpMyAdmin using dockerised database
You need to 


Expose the server port in the Dockerfile
get the IP that the container is listening on (e.g. docker inspect code-rade_cache_1 |jq .[0].NetworkSettings.Networks[].IPAddress ) -- note that you will need JQ installed  on your computer to do this
Set the connection in the mysqlphpadmin