Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker setup with local Mongo Instance #86

Merged
merged 5 commits into from
Mar 2, 2020
Merged

Docker setup with local Mongo Instance #86

merged 5 commits into from
Mar 2, 2020

Conversation

smaharj1
Copy link
Collaborator

@smaharj1 smaharj1 commented Mar 2, 2020

Local Docker Setup

Issue: Currently, all the projects have to be run separately

Solution: Created a docker-compose file that will locally start all the servers so that everything is in one place

Reason: The reason to do this is to ease the local development for developers. The container volumes are bind mount. So, hot-reloading is also in place.


Command: docker-compose up

This will build all the servers locally in the docker.

  • management-server
  • management-web
  • shopping-server
  • shopping-web

Known caveat:

Redis and NodeMailer are still being used from the environment file. I tried to use Redis docker but it wasn't working for me for some reason. Something with the hostname and password.

@smaharj1 smaharj1 requested a review from Viveckh March 2, 2020 01:23
@smaharj1 smaharj1 self-assigned this Mar 2, 2020
@smaharj1 smaharj1 added this to In progress in Veniqa via automation Mar 2, 2020
Copy link
Owner

@Viveckh Viveckh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noicee!

Veniqa automation moved this from In progress to Reviewer approved Mar 2, 2020
@Viveckh Viveckh merged commit 3708695 into develop Mar 2, 2020
Veniqa automation moved this from Reviewer approved to Done Mar 2, 2020
@Viveckh Viveckh deleted the docker-setup branch March 2, 2020 01:59
Viveckh pushed a commit that referenced this pull request May 2, 2020
* Local docker setup for both UIs.

* Using dockers for local for node servers with bind mounts

* Local docker setup with bind mount

* Changing UI envs for now since docker-compose for UI envs is a bit different

* Mongo pointed to docker for development
Viveckh added a commit that referenced this pull request May 2, 2020
Viveckh added a commit that referenced this pull request May 2, 2020
* Revert "deleting"

This reverts commit 1ba82ee.

* Revert "Significantly reduces the docker build time. by a LOT"

This reverts commit d70e7db.

* Revert "docker mode - default admin login fix with a new mongo dump and updated docs"

This reverts commit ef31bbd.

* Revert "Added volume to the db so that any changes in local dev isn't lost when container is removed"

This reverts commit f14e638.

* Revert "Added two more necessary env vars to the docker compose changed configs"

This reverts commit 5ca97cb.

* Revert "Accidentally addedn s3-backup"

This reverts commit 9c78662.

* Revert "Update on the docs"

This reverts commit 8c62695.

* Revert "Small change"

This reverts commit dd392db.

* Revert "Added more documentations outside of doc project."

This reverts commit d1e3ff0.

* Revert "Added docker setup documentation"

This reverts commit 2ea97c9.

* Revert "Bump acorn from 6.4.0 to 6.4.1 in /documentation (#93)"

This reverts commit 30c11de.

* Revert "Shopping Server: Middleware refactor (#92)"

This reverts commit 8dcbd6b.

* Revert "Refactored a bunch of code to make it easier on the eyes (#91)"

This reverts commit e5d25d0.

* Revert "Redis setup (#89)"

This reverts commit 39c3e8a.

* Revert "Docker setup with local Mongo Instance (#86)"

This reverts commit ef5bcd9.

* Revert "Website detach (#85)"

This reverts commit 693bcb1.

* Revert "Remove css (#84)"

This reverts commit 059f8c5.

* Revert "adding as-seen-on section and removing premium and promoting developer community (#83)"

This reverts commit 6b41a9e.

* Revert "Photo update (#81)"

This reverts commit 17c71fa.

* Revert "Readme updates (#80)"

This reverts commit 260a31a.

* Revert "Demo user support now for previews (#79)"

This reverts commit f11f390.

* Revert "Allowing backend to accept request from official veniqa subdomains (#78)"

This reverts commit 92af575.

* Revert "Added google analytics to shopping client (#75)"

This reverts commit d8e1dcf.

* Revert "Demo Sites are now available for preview and use (#74)"

This reverts commit 1116748.

* Revert "All lint fix client (#72)"

This reverts commit 00c7078.

* Revert "All lint fix admin ui (#71)"

This reverts commit e29c138.

* Revert "61 add roles (#70)"

This reverts commit ba035ac.

* Revert "Role nav ui (#69)"

This reverts commit 4fda032.

* Revert "using yarn for documentation site"

This reverts commit f2c5fdb.

* Revert "moving documentation to its own section"

This reverts commit 78b751f.

* Revert "Pointing to official documentation site"

This reverts commit 1a0bbe5.

* Revert "Documentation website generator implemented"

This reverts commit d85779d.

* Revert "DS Store files gotta go away"

This reverts commit aa852ff.

* Revert "Bump mixin-deep from 1.3.1 to 1.3.2 in /shopping-server"

This reverts commit c1b9965.

* Revert "Added the roles for featured page"

This reverts commit b3fdeed.

* Revert "- Added roles for tariff and categories (VIEW/MANAGE) - modified logic for tariff and categories route - package version updates according to npm audit - Rearranged the passportAuth middleware"

This reverts commit 36ed531.

* Revert "adding tracking metrics to outbound links"

This reverts commit d3b8518.

* Revert "Replaced Cart Image with Correct One"

This reverts commit 98420c9.

* Revert "Added new compressed pictures"

This reverts commit 22d681e.

* Revert "update that readme for latest updates"

This reverts commit 6b7e6af.

* Revert "updating metadata for facebook"

This reverts commit b4c4ee8.

* Revert "updating metadata for facebook"

This reverts commit 65d72f0.

* Revert "your choices and whats under the hood sections"

This reverts commit 31cef50.

* Revert "navigation slider and removing unncessary code"

This reverts commit 88ea34a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Veniqa
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants