Skip to content

Commit

Permalink
added changelog and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ashraful-islam committed Jun 9, 2018
1 parent 2af6380 commit d7276e4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Change Logs

Date: 09-06-2018

+ Docker Compose file to deploy in docker
+ Retry logic for Mongoose to retry if database connection drops
+ Boot app only if DB is available
+ Minor spelling correction for variable

Date: 06-06-2018

+ Initial Commit
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,16 @@ module.exports = {
dbURL: process.env.DATABASEURL || "mongodb://localhost/dropit"
}
```

### :whale: Docker Usage

Preparation:

1. Rename `docker-compose.yml.example` to `docker-compose.yml`
2. Rename `.env.example` to `.env`
3. Fill in the missing details in `.env` file

Boot:
```bash
docker-compose up -d
```

0 comments on commit d7276e4

Please sign in to comment.