Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
Buy Me A Coffee



#### Show some ❀️ by starring the repository!