1.0.8 • Published 3 years ago

@developerx167/mongodbconn v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago