Fix Docker front and api ports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e7ed4706b2
commit
df3f08c528
|
@ -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
|
||||
|
|
3
js/.env
3
js/.env
|
@ -1,3 +0,0 @@
|
|||
API_HOST=localhost
|
||||
API_ORIGIN=http://localhost:4001
|
||||
API_PATH=/api/v1
|
|
@ -1,3 +1,3 @@
|
|||
API_HOST=event.tcit.fr
|
||||
API_ORIGIN=https://event.tcit.fr
|
||||
API_HOST=eventos.tld
|
||||
API_ORIGIN=https://eventos.tld
|
||||
API_PATH=/api/v1
|
||||
|
|
Loading…
Reference in a new issue