Fix Docker front and api ports

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-07-25 17:06:50 +02:00
parent e7ed4706b2
commit df3f08c528
4 changed files with 4 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ use Mix.Config
# watchers to your application. For example, we use it
# with brunch.io to recompile .js and .css sources.
config :eventos, EventosWeb.Endpoint,
http: [port: 4001],
http: [port: System.get_env("PORT") || 4001],
debug_errors: true,
code_reloader: true,
check_origin: false,