@liveaxle/mbwb-data-couchdb

    0.1.1 • Public • Published

    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

    Keywords

    none

    Install

    npm i @liveaxle/mbwb-data-couchdb

    DownloadsWeekly Downloads

    0

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    4.53 kB

    Total Files

    4

    Last publish

    Collaborators

    • awison
    • johncroft
    • mkatsufrakis