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

Update to use elixir 1.5 official image #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeammyb
Copy link

@jeammyb jeammyb commented Oct 22, 2017

Fixes #1

Copy link
Owner

@dantswain dantswain left a comment

Choose a reason for hiding this comment

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

@jeammyb Thanks for the contribution. This requires a couple changes to work.

  1. Update the postgrex dependency:
# in mix.exs
{:postgrex, "~> 0.12.2"}

Then mix deps.get so that it updates mix.lock.

  1. We need to set MIX_HOME and HEX_HOME in the compose file so that they are persistent:
    # in the environment section of the web service
    HEX_HOME: /beanie/.hex/docker
    MIX_HOME: /beanie/.mix/docker

@jeammyb
Copy link
Author

jeammyb commented Nov 4, 2017

ok, I will work on that.

@jeammyb
Copy link
Author

jeammyb commented Nov 13, 2017

Hi @dantswain, I Updated the postgrex version, and the environment of web in the compose file.
To have the database working I had to execute these commands in the Web container: mix ecto.create, mix ecto.migrate, is that normal?

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