diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..6506faf --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: mix phx.server diff --git a/config/prod.exs b/config/prod.exs index b26fe65..1b0684e 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -10,7 +10,7 @@ use Mix.Config # which you should run after static files are built and # before starting your production server. config :planner, PlannerWeb.Endpoint, - url: [host: "example.com", port: 80], + url: [port: 5000], cache_static_manifest: "priv/static/cache_manifest.json" # Do not print debug messages in production diff --git a/config/prod.secret.exs b/config/prod.secret.exs index 4d6c3a7..d67541e 100644 --- a/config/prod.secret.exs +++ b/config/prod.secret.exs @@ -12,7 +12,7 @@ database_url = """ config :planner, Planner.Repo, - # ssl: true, + ssl: true, url: database_url, pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10") diff --git a/elixir_buildpack.config b/elixir_buildpack.config new file mode 100644 index 0000000..a919adc --- /dev/null +++ b/elixir_buildpack.config @@ -0,0 +1,2 @@ +elixir_version=1.10.3 +erlang_version=21.2.5 diff --git a/phoenix_static_buildpack.config b/phoenix_static_buildpack.config new file mode 100644 index 0000000..53ebbee --- /dev/null +++ b/phoenix_static_buildpack.config @@ -0,0 +1,2 @@ +# Node version +node_version=10.20.1