Allow port to be configured via ENV
This commit is contained in:
parent
d970a6dfc0
commit
c285624c66
|
@ -40,7 +40,7 @@ explorer_hostname =
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config :zcash_explorer, ZcashExplorerWeb.Endpoint,
|
config :zcash_explorer, ZcashExplorerWeb.Endpoint,
|
||||||
url: [host: explorer_hostname, port: String.to_integer(System.get_env("PORT") || "4000")],
|
url: [host: explorer_hostname, port: String.to_integer(System.get_env("EXPLORER_PORT") || "443")],
|
||||||
http: [
|
http: [
|
||||||
port: String.to_integer(System.get_env("PORT") || "4000"),
|
port: String.to_integer(System.get_env("PORT") || "4000"),
|
||||||
transport_options: [socket_opts: [:inet6]]
|
transport_options: [socket_opts: [:inet6]]
|
||||||
|
|
Loading…
Reference in New Issue