examples/vanilla/config/prod.exs
import Config
config :vanilla_example, VanillaExample.Web.Endpoint,
server: System.get_env("VANILLA_EXAMPLE_WEB") == "true",
http: [ip: {127, 0, 0, 1}, port: String.to_integer(System.get_env("VANILLA_EXAMPLE_PORT") || "4100")]