0.1.1 • Published 6 years ago

@liveaxle/mbwb-data-couchdb v0.1.1

Weekly downloads
4
License
ISC
Repository
bitbucket
Last release
6 years ago

mbwb-data-couchdb

The docker-compose.yml uses the args section on the 'backend' service to set values from the .env file. The Dockerfile-backend file takes those arguments and calls npm config set. When npm run create:db is called it uses those config values to intialize the database.

you env file should look something like:

COUCHDB_HOST=localhost
COUCHDB_PORT=5984
COUCHDB_DB=mbwb_local
COUCHDB_USER=admin
COUCHDB_PASSWORD=mbwb123
COUCHDB_ENV=local
COUCHDB_MAX_SOCKETS=50

COUCHDB_EVENTS_DB=mbwb_events_local
COUCHDB_TRADE_EVENTS_DB=mbwb_trade_events_local
COUCHDB_COMPANY_EVENTS_DB=mbwb_company_events_local
COUCHDB_USER_EVENTS_DB=mbwb_user_events_local

http://localhost:5984/_utils

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago