creates database correctly
This commit is contained in:
parent
e8b528e5f0
commit
5ef40852a6
2 changed files with 9 additions and 6 deletions
|
|
@ -10,10 +10,11 @@ config :ezcontainer_railway, EzcontainerRailway.Repo,
|
|||
# The watchers configuration can be used to run external
|
||||
# watchers to your application. For example, we can use it
|
||||
# to bundle .js and .css sources.
|
||||
port = String.to_integer(System.get_env("PORT") || "4000")
|
||||
config :ezcontainer_railway, EzcontainerRailwayWeb.Endpoint,
|
||||
# Binding to loopback ipv4 address prevents access from other machines.
|
||||
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
|
||||
http: [ip: {127, 0, 0, 1}, port: 4000],
|
||||
http: [ip: {0, 0, 0, 0}, port: port],
|
||||
check_origin: false,
|
||||
code_reloader: true,
|
||||
debug_errors: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue