|
|
@@ -26,20 +26,11 @@ if config_env() == :prod do
|
|
|
ip: {0, 0, 0, 0, 0, 0, 0, 0},
|
|
|
port: env.port
|
|
|
],
|
|
|
- secret_key_base: env.secret_key_base
|
|
|
+ secret_key_base: env.secret_key_base,
|
|
|
+ server: true
|
|
|
|
|
|
config :toy, Toy.Repo,
|
|
|
# ssl: true,
|
|
|
url: env.database_url,
|
|
|
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
|
|
|
-
|
|
|
- # ## Using releases
|
|
|
- #
|
|
|
- # If you are doing OTP releases, you need to instruct Phoenix
|
|
|
- # to start each relevant endpoint:
|
|
|
- #
|
|
|
- # config :<%= @web_app_name %>, <%= @endpoint_module %>, server: true
|
|
|
- #
|
|
|
- # Then you can assemble a release by calling `mix release`.
|
|
|
- # See `mix help release` for more information.
|
|
|
end
|