forked from beam-community/elixir-companies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod.exs
21 lines (18 loc) · 801 Bytes
/
prod.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use Mix.Config
# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
# when generating URLs.
#
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix phx.digest` task,
# which you should run after static files are built and
# before starting your production server.
config :companies, CompaniesWeb.Endpoint,
http: [:inet6, port: System.get_env("PORT") || 4000],
url: [scheme: "https", host: "elixir-companies.com"],
cache_static_manifest: "priv/static/cache_manifest.json",
secret_key_base: System.get_env("SECRET_KEY_BASE")
config :companies, :notifier, Notify.Slack
# Do not print debug messages in production
config :logger, level: :info