Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 847 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 847 Bytes

Dockerizing a web application

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.

Usage

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.

Details

You can check for logs using: docker logs node-container

Acknowlegments & References

Special thanks to the YouTube channel: programadorabord.