Using Docker Compose with Mysql And Node

I previously went over how to use docker to run a node api, here I show why and how you would use docker-compose to start the same node api.

Link to repo:

Thanks for watching 🙂


15 thoughts on “Using Docker Compose with Mysql And Node”
  1. As far as I know, to deploy an Express -MySQL dockerized app to VPS the docker-compose bundle should contain Nginx or other server. In your video you have none of that. Why?

  2. Thanks bro for the tutorial!!!!!! It was the only one that worked for me. Gracias dsd México

  3. Thanks, nice video! Could you do a demo with Typescript and seperating out dev / prod? Also would be good to mention volumes for mysql for data persistance.

  4. Tip:
    For you who have a connection error related to access denied or can't be established between the containers => change "mysql" to "mysql2" in package.json AND when u imported it in index.js file.

Leave a Reply

Your email address will not be published.

Captcha loading...