Docker Compose - Create MySQL and Nginx Containers

This video will explain how to create mysql and nginx containers using docker compose.Here we are using images from public repository

Docker Compose File

version: ‘3’
image: mysql
– “3307:3306”
image: nginx

ubscribe this channel to get periodic update
Please click this link to subscribe my channel –

Please visit these play lists as well

Docker Fundamentals –
Linux Basics –
Linux Tips and Tricks –
Cloudera Hadoop Administration –
Cloudera Hadoop 6 –
Bash Scripting –
Hortonworks Data Platform3 –
Hadoop Admin Q&A ––i
Hadoop Security –
HD Insight –
HDP Administration –
Cloudera Certified Administrator –
HDP Upgrade –
Puppet –
Data Governance –


4 thoughts on “Docker Compose – Create MySQL and Nginx Containers”
  1. Very Nice presentation, I would like to know how to include mysql container database restoration from backup file (.sql) in the docker-compose.yml file. I think that information would take your presentation to next level.

  2. Great video! I would love your advice. I have a django app which has a
    mysql db which I need to change over to postgres. Can I simply make the
    changes in the docker-compose.yml file or do I need to search for any
    mysql reference thoughout the whole app and change it to psql? Thank you
    for your help, I can't find much info about it online.

Leave a Reply

Your email address will not be published.

Captcha loading...