52 lines
1.6 KiB
Elixir
52 lines
1.6 KiB
Elixir
# This file is responsible for configuring your umbrella
|
|
# and **all applications** and their dependencies with the
|
|
# help of the Config module.
|
|
#
|
|
# Note that all applications in your umbrella share the
|
|
# same configuration and dependencies, which is why they
|
|
# all use the same configuration file. If you want different
|
|
# configurations or dependencies per app, it is best to
|
|
# move said applications out of the umbrella.
|
|
import Config
|
|
|
|
config :bwc, ecto_repos: [Bwc.Repo]
|
|
|
|
config :bwc, Bwc.Repo,
|
|
database: "BWC",
|
|
username: "postgres",
|
|
password: "postgres",
|
|
hostname: "localhost",
|
|
port: "5432"
|
|
|
|
config :bwc_web,
|
|
ecto_repos: [Bwc.Repo],
|
|
generators: [context_app: false]
|
|
|
|
# Configures the endpoint ("ck+DGF3J7fqZmJXgtGKl+Uhcq2CH5rR8SviXK1CZzzT9El+Uq4/iAj4VHWnWB3uT")
|
|
config :bwc_web, BwcWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
secret_key_base: "jJqmdDJIM8vfETjEax9POp8CbgJbaID++sXZCrxsjFdIywS9qi6D1jBWSDTElzcd",
|
|
render_errors: [view: BwcWeb.ErrorView, accepts: ~w(html json), layout: false],
|
|
live_view: [signing_salt: "IRwB6447"],
|
|
pubsub_server: Bwc.PubSub
|
|
|
|
# Sample configuration:
|
|
#
|
|
# config :logger, :console,
|
|
# level: :info,
|
|
# format: "$date $time [$level] $metadata$message\n",
|
|
# metadata: [:user_id]
|
|
#
|
|
|
|
# Configures Elixir's Logger
|
|
config :logger, :console,
|
|
format: "$time $metadata[$level] $message\n",
|
|
metadata: [:request_id]
|
|
|
|
# Use Jason for JSON parsing in Phoenix
|
|
config :phoenix, :json_library, Jason
|
|
|
|
# Import environment specific config. This must remain at the bottom
|
|
# of this file so it overrides the configuration defined above.
|
|
import_config "#{Mix.env()}.exs"
|