Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sayannath/backend-docker
NodeJs, MongoDB, Nginx with Docker
https://github.com/sayannath/backend-docker
best-practices development docker docker-compose docker-container docker-image dockerfile mongodb nodejs production redis
Last synced: 14 days ago
JSON representation
NodeJs, MongoDB, Nginx with Docker
- Host: GitHub
- URL: https://github.com/sayannath/backend-docker
- Owner: sayannath
- License: mit
- Created: 2021-05-02T21:06:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T22:17:45.000Z (about 3 years ago)
- Last Synced: 2023-03-04T05:14:44.745Z (over 1 year ago)
- Topics: best-practices, development, docker, docker-compose, docker-container, docker-image, dockerfile, mongodb, nodejs, production, redis
- Language: JavaScript
- Homepage:
- Size: 213 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Backend-Docker
### Node, MongoDB and Nginx with Docker
## Commands
* Start
```
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build [For Development]
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build [For Production]
```
* Stop
```
docker-compose -f docker-compose.yml -f docker-compose.dev.yml down -v [For Development]
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down -v [For Production]
```
* Scale Up
```
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --scale node-app=2 [For 2 node instance]
```## Pull Request
Pull Requests are welcome. Please follow these rules for the ease of understanding:
* Make sure to check for available issues before raising one
* Give me a maximum of 24-48 hours to respond
* Have proper documentation on the parts you are changing/adding## Developed & Maintained by
[π¨Sayan Nath](https://sayannath.biz/)
[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/sayannath)
#### Show some β€οΈ by starring the repository!