diff --git a/docker-compose.yml b/docker-compose.yml index 5225d4b..9d9dd4b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,11 +28,13 @@ node: volumes: - ./:/beanie web: - image: trenpixster/elixir:1.3.2 + image: elixir:1.5 command: mix phoenix.server working_dir: /beanie environment: MIX_ENV: prod + HEX_HOME: /beanie/.hex/docker + MIX_HOME: /beanie/.mix/docker PORT: 80 ports: - 80 diff --git a/mix.exs b/mix.exs index 4cd352e..9f24c28 100644 --- a/mix.exs +++ b/mix.exs @@ -33,7 +33,7 @@ defmodule Beanie.Mixfile do [{:phoenix, "~> 1.2.1"}, {:phoenix_pubsub, "~> 1.0"}, {:phoenix_ecto, "~> 3.0"}, - {:postgrex, ">= 0.0.0"}, + {:postgrex, "~> 0.12.2"}, {:phoenix_html, "~> 2.6"}, {:phoenix_live_reload, "~> 1.0", only: :dev}, {:httpotion, "~>3.0.1"},