1.0.8 • Published 2 years ago

@developerx167/mongodbconn v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Mongoose Database Connection Docker-Compose

USAGE :

require('@developerx167/mongodbconn')

Default values :

url : "mongodb://localhost:27017",
options : null

Set values using environment Docker-Compose :

environment :
    MONGODB_URL="mongodb_url",
    MONGODB_OPTIONS={"maxPoolSize":50,"minPoolSize":50}

NOTE : use stringified array for DB_OPTIONS environment variable any error will be logged out at logs/mongooseConnectionError.log

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago