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

chore: use published image for docker-compose #131

Merged
merged 1 commit into from
Dec 10, 2019

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/admin: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.

Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
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 913bfe6 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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants