How to create and connect mysql docker container to the container of Django?

I want to create 2 container. One Django project, and another with a mysql db. Container with Django already created need help creating container mysql db and its connection to Django
June 10th 19 at 16:17
1 answer
June 10th 19 at 16:19
And in what actually problems?
Deployed mysql docker container as described in "How to use.."
Only mount the directory with the database in the container, so that the changes remained-v /my/own/datadir:/var/lib/mysql

In the container with django provided a link to the mysql container
For example
 - "mysql"

All turn to host mysql named "mysql"

Find more questions by tags DockerDjangoPython