You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# nodejsmysqldockercompose
|
|
|
|
A sample example of nodejs(dockerized container) and mysql(dockerized container).
|
|
|
|
|
|
|
|
Checkout the medium article [here](https://varsubham.medium.com/nodejs-mysql-docker-compose-ad156cd0c885)
|
|
|
|
|
|
|
|
## Run
|
|
|
|
```
|
|
|
|
docker-compose up
|
|
|
|
```
|
|
|
|
This will start 2 dockerized container mysql and nodejs.
|
|
|
|
|
|
|
|
**nodejs container** will connect to **mysql** running inside the container.
|
|
|
|
|
|
|
|
The app will be running on http://localhost:5000
|