Merge branch 'oncletom-master-patch-79848' into 'master'
Configure Instance PORT via an environment variable. See merge request framasoft/mobilizon!796
This commit is contained in:
commit
32e11a87d1
@ -5,7 +5,7 @@ import Config
|
|||||||
config :mobilizon, Mobilizon.Web.Endpoint,
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||||
server: true,
|
server: true,
|
||||||
url: [host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan")],
|
url: [host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan")],
|
||||||
http: [port: 4000],
|
http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", 4000)],
|
||||||
secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis")
|
secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis")
|
||||||
|
|
||||||
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
||||||
|
Loading…
Reference in New Issue
Block a user