Skip to content

jwchmodx/docker-compose-react-nodejs-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose React, Nodejs and MySQL example

실행시키기 전에!

  1. conf/nginx.conf 에 server_name을 본인 본인 서버의 도메인으로 변경한다.

.env 파일의 CLIENT_ORIGIN과 CLIENT_API_BASE_URL을 각각 http://내ip:3000 http://내ip:8080/api로 바꾼다

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:

Docker Compose React + Node.js + MySQL example

Related Posts:

React + Node.js Express + MySQL

React + Redux + Node.js Express + MySQL

React + Node.js Express: User Authentication with JWT example

Integration (run back-end & front-end on same server/port)

Integrate React with Node.js Restful Services

About

Docker Compose React, Nodejs, MySQL - with Nginx and Express Rest API example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 83.9%
  • Shell 8.6%
  • HTML 5.5%
  • Dockerfile 1.4%
  • CSS 0.6%