https://github.com/bezkoder/docker-compose-react-nodejs-mysql
Docker Compose React, Nodejs, MySQL - with Nginx and Express Rest API example
https://github.com/bezkoder/docker-compose-react-nodejs-mysql
docker docker-compose express expressjs mysql mysql-database node nodejs react reactjs rest-api
Last synced: 2 months ago
JSON representation
Docker Compose React, Nodejs, MySQL - with Nginx and Express Rest API example
- Host: GitHub
- URL: https://github.com/bezkoder/docker-compose-react-nodejs-mysql
- Owner: bezkoder
- Created: 2021-08-28T03:49:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T01:38:51.000Z (about 2 years ago)
- Last Synced: 2025-03-28T10:47:39.404Z (3 months ago)
- Topics: docker, docker-compose, express, expressjs, mysql, mysql-database, node, nodejs, react, reactjs, rest-api
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 62
- Watchers: 2
- Forks: 51
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Compose React, Nodejs and MySQL example
## Run the System
We can easily run the whole with only a single command:
```bash
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:
```bash
docker-compose up -d
```## Stop the System
Stopping all the running containers is also simple with a single command:
```bash
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:
```bash
docker-compose down --rmi all
```For more detail, please visit:
> [Docker Compose React + Node.js + MySQL example](https://www.bezkoder.com/docker-compose-react-nodejs-mysql/)Related Posts:
> [React + Node.js Express + MySQL](https://bezkoder.com/react-node-express-mysql/)> [React + Redux + Node.js Express + MySQL](https://www.bezkoder.com/react-redux-mysql-crud/)
> [React + Node.js Express: User Authentication with JWT example](https://www.bezkoder.com/react-express-authentication-jwt/)
Integration (run back-end & front-end on same server/port)
> [Integrate React with Node.js Restful Services](https://bezkoder.com/integrate-react-express-same-server-port/)