Skip to content
Snippets Groups Projects
Commit df3f08c5 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Fix Docker front and api ports


Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent e7ed4706
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -35,4 +35,5 @@ services:
POSTGRES_USER: postgres
POSTGRES_DATABASE: eventos_dev
POSTGRES_HOST: postgres
PORT: 4000
entrypoint: entrypoint
API_HOST=localhost
API_ORIGIN=http://localhost:4001
API_PATH=/api/v1
API_HOST=event.tcit.fr
API_ORIGIN=https://event.tcit.fr
API_HOST=eventos.tld
API_ORIGIN=https://eventos.tld
API_PATH=/api/v1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment