2019-02-11 22:22:35 +00:00
|
|
|
# This file is responsible for configuring your application
|
|
|
|
# and its dependencies with the aid of the Mix.Config module.
|
|
|
|
#
|
|
|
|
# This configuration file is loaded before any dependency and
|
|
|
|
# is restricted to this project.
|
|
|
|
|
|
|
|
# General application configuration
|
2023-06-25 20:45:59 +00:00
|
|
|
import Config
|
2019-02-11 22:22:35 +00:00
|
|
|
|
|
|
|
config :frenzy,
|
|
|
|
ecto_repos: [Frenzy.Repo]
|
|
|
|
|
|
|
|
# Configures the endpoint
|
|
|
|
config :frenzy, FrenzyWeb.Endpoint,
|
|
|
|
url: [host: "localhost"],
|
|
|
|
secret_key_base: "OHENOE79+KzItVyWbScSSn2yPhZToFpNriYZm3gj2sGYR0hbKEiSLvcVvTK1zxo8",
|
|
|
|
render_errors: [view: FrenzyWeb.ErrorView, accepts: ~w(html json)],
|
2020-06-07 18:42:27 +00:00
|
|
|
pubsub_server: Frenzy.PubSub,
|
|
|
|
live_view: [
|
|
|
|
signing_salt: "lgnxcl3mtR6kB7yBeW7l5wd/SbEx5vRY"
|
|
|
|
]
|
2019-02-11 22:22:35 +00:00
|
|
|
|
|
|
|
# Configures Elixir's Logger
|
|
|
|
config :logger, :console,
|
|
|
|
format: "$time $metadata[$level] $message\n",
|
2019-11-10 19:04:00 +00:00
|
|
|
metadata: [:request_id, :item_task_id, :favicon_task_id]
|
2019-02-11 22:22:35 +00:00
|
|
|
|
|
|
|
# Use Jason for JSON parsing in Phoenix
|
|
|
|
config :phoenix, :json_library, Jason
|
|
|
|
|
2020-10-01 02:50:07 +00:00
|
|
|
config :logger, truncate: :infinity
|
|
|
|
|
2023-06-25 22:19:11 +00:00
|
|
|
config :frenzy, env: config_env()
|
2021-09-22 17:59:44 +00:00
|
|
|
config :frenzy, sentry_enabled: false
|
2021-11-06 14:10:49 +00:00
|
|
|
config :frenzy, external_readability: false
|
2023-06-25 22:19:11 +00:00
|
|
|
config :frenzy, oidc_enabled: false
|
|
|
|
|
|
|
|
config :ueberauth, Ueberauth,
|
|
|
|
providers: [
|
|
|
|
oidc:
|
|
|
|
{Ueberauth.Strategy.OIDC,
|
|
|
|
[
|
|
|
|
default: [
|
|
|
|
provider: :default_oidc
|
|
|
|
]
|
|
|
|
]}
|
|
|
|
]
|
2023-06-25 20:45:59 +00:00
|
|
|
|
2019-02-11 22:22:35 +00:00
|
|
|
# Import environment specific config. This must remain at the bottom
|
|
|
|
# of this file so it overrides the configuration defined above.
|
2023-06-25 20:45:59 +00:00
|
|
|
import_config "#{config_env()}.exs"
|