Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented Dec 9, 2019

Impact: minor
Type: chore

Changes

When you clone this branch and run docker-compose up, it will now pull and use the latest published reactioncommerce/identity:trunk image from DockerHub instead of building an image using Dockerfile-dev. Host files are not linked in, NPM deps are not reinstalled, and the built Node app will run instead of the Meteor app.

Breaking changes

Breaking only for devs who will now need to run ln -s docker-compose.dev.yml docker-compose.override.yml to get the previous behavior.

Testing

  • Verify dc up starts quickly and in prod mode. (You should not see anything about Meteor in the logs.)
  • After dc down, run ln -s docker-compose.dev.yml docker-compose.override.yml and then dc up again. Verify it now starts in dev mode and reloads when you change files.
  • After dc down, run rm docker-compose.override.yml to remove the override file. It should be back to running in prod mode when you do dc up.

@aldeed aldeed requested a review from rosshadden December 9, 2019 23:18
Copy link
Contributor

@rosshadden rosshadden left a comment

Choose a reason for hiding this comment

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

Works on linux, too 👍.

@aldeed aldeed merged commit f8ce00f into trunk Dec 10, 2019
@aldeed aldeed deleted the chore-aldeed-use-prod-image-for-dc branch December 10, 2019 16:53
@kieckhafer kieckhafer mentioned this pull request Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants