Docker Community Forums

Share and learn in the Docker community.

Connect mysql db which is in db to django application container

Hi, I am trying to connect mysql db which is in ubuntu 18.04, and want to connect to django application container (in same host machine) . Please let me know the options and if possible please share reference documents.

I created ngnix, python (gunicorn) containers with docker-compose, since I have db in my host machine I need to connect my application to db.