Skip to content

thanhth85/docker-compose-nodejs-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Nodejs and MySQL example

Run the System

We can easily run the whole with only a single command:

docker-compose up

Docker will pull the MySQL and Node.js images (if our machine does not have it before).

The services can be run on the background with command:

docker-compose up -d

Stop the System

Stopping all the running containers is also simple with a single command:

docker-compose down

If you need to stop and remove all containers, networks, and all images used by any service in docker-compose.yml file, use the command:

docker-compose down --rmi all

For more detail, please visit:

Dockerize Node.js Express and MySQL example - Docker Compose

Related Posts:

Build Node.js Rest APIs with Express & MySQL

Upload/store images in MySQL using Node.js, Express & Multer

Node.js: Upload CSV file data into Database with Express

Node.js: Upload Excel file data into Database with Express

Build Node.js Rest APIs with Express, Sequelize & MySQL

Server side Pagination in Node.js with Sequelize and MySQL

Deploying/Hosting Node.js app on Heroku with MySQL database

Security:

Node.js Express: JWT example | Token Based Authentication & Authorization

Associations:

Sequelize Associations: One-to-Many Relationship example

Sequelize Associations: Many-to-Many Relationship example

About

Docker Compose Nodejs Express and MySQL example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.9%
  • Shell 2.6%
  • Dockerfile 1.5%