Skip to content

Docker creation for a MongoDB used with the ws-dev-docker-example and ws-node-demo

Notifications You must be signed in to change notification settings

WillStreeter/ws-mongo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ws-mongo-demo

A instance of MongoDB used in the ws-dev-docker-example.

Architecture:

This repository is part of a larger effort to expound on the strategies and approaches delineated in the article Practical Web Development and Architecture. While an explicit repository for MongoDB is currently not necessary, it will eventually become so when default information including, database name, user name, and password becomes specific and a process for importing an initial set of collections needs to be established immediately after MongoDB is running.

When a virtual hosting container with docker-compose is established with ws-dev-docker-example, the docker-compose service name 'mongo' becomes the host-name with which ws-node-demo will establish a connection.

  // with a docker-compose implementation
    mongodb://mongo:27017/ws-demo


  // rather than  the localhost address
    mongodb://127.0.0.1:27017/ws-demo

About

Docker creation for a MongoDB used with the ws-dev-docker-example and ws-node-demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published