Dockerizing a web application using:
- node.js-v10
- docker
- docker-compose-v3.7
The main goal of this repo is to get an understanding of how dockerized applications work and also, how to set up a database using docker.
Code
Go into the folder ./api
and run npm install
Building Images and Containers
Run:
docker-compose up -d
This command will create two containers: mysql-container and node-container.
You can check for logs using: docker logs node-container
Special thanks to the YouTube channel: programadorabord.