legendary-doc-site/config/config.exs

103 lines
3.1 KiB
Elixir
Raw Normal View History

2020-07-02 21:08:53 +00:00
use Mix.Config
2020-07-29 17:07:36 +00:00
# Configures the endpoint
2020-09-30 20:56:22 +00:00
config :app, AppWeb.Endpoint,
2020-07-29 17:07:36 +00:00
url: [host: "localhost"],
2020-09-30 20:56:22 +00:00
secret_key_base: "r2eN53mJ9RmlGz9ZQ7xf43P3Or59aaO9rdf5D3hRcsuiH44pGW9kPGfl5mt9N1Gi",
render_errors: [view: AppWeb.ErrorView, accepts: ~w(html json), layout: false],
2020-07-29 17:07:36 +00:00
pubsub_server: App.PubSub,
2020-09-30 20:56:22 +00:00
live_view: [signing_salt: "g5ltUbnQ"]
2020-07-29 17:07:36 +00:00
config :admin, Admin.Endpoint,
url: [host: "localhost"],
secret_key_base: "r2eN53mJ9RmlGz9ZQ7xf43P3Or59aaO9rdf5D3hRcsuiH44pGW9kPGfl5mt9N1Gi",
render_errors: [view: Admin.ErrorView, accepts: ~w(html json), layout: false],
pubsub_server: Admin.PubSub,
live_view: [signing_salt: "g5ltUbnQ"]
2020-09-30 20:56:22 +00:00
config :auth_web, AuthWeb.Endpoint,
2020-07-30 16:05:09 +00:00
url: [host: "localhost"],
2020-09-30 20:56:22 +00:00
secret_key_base: "cjtU4RvTirW4yJZDkdqZJmaj7bvaQRrX6mevkoGYqzEuMujV/Q0w3utlO5+FUsUj",
render_errors: [view: AuthWeb.ErrorView, accepts: ~w(html json), layout: false],
pubsub_server: AuthWeb.PubSub,
live_view: [signing_salt: "AwljJYaY"]
config :content, Content.Endpoint,
url: [host: "localhost"],
secret_key_base: "kNJbLKCmuZYSK99S55+DmirA2TlmOxzs/xz3xnlXtOhQCoBMmYRabaRLTXkcsw5d",
render_errors: [view: Content.ErrorView, accepts: ~w(html json), layout: false],
pubsub_server: Content.PubSub,
live_view: [signing_salt: "Nb8V5NUr"]
config :core, CoreWeb.Endpoint,
url: [host: "localhost"],
secret_key_base: "kNJbLKCmuZYSK99S55+DmirA2TlmOxzs/xz3xnlXtOhQCoBMmYRabaRLTXkcsw5d",
render_errors: [view: CoreWeb.ErrorView, accepts: ~w(html json), layout: false],
pubsub_server: Core.PubSub,
live_view: [signing_salt: "Nb8V5NUr"]
config :content, Content.Endpoint, server: false
config :auth_web, AuthWeb.Endpoint, server: false
config :admin, Admin.Endpoint, server: false
config :app, CoreWeb.Endpoint, server: false
2020-07-30 16:05:09 +00:00
2020-07-17 23:30:31 +00:00
# Configure Mix tasks and generators
2020-09-30 20:56:22 +00:00
config :admin,
ecto_repos: [Admin.Repo],
generators: [context_app: false]
config :app,
ecto_repos: [App.Repo],
generators: [context_app: :app]
2020-07-17 23:30:31 +00:00
config :auth,
ecto_repos: [Auth.Repo]
config :auth_web,
ecto_repos: [Auth.Repo],
generators: [context_app: :auth]
2020-09-30 20:56:22 +00:00
config :content,
ecto_repos: [Content.Repo]
config :core,
ecto_repos: [Core.Repo]
2020-07-17 23:30:31 +00:00
config :auth_web, :pow,
user: Auth.User,
2020-07-17 23:30:31 +00:00
repo: Auth.Repo,
2020-08-22 15:01:04 +00:00
extensions: [PowEmailConfirmation, PowPersistentSession, PowResetPassword],
2020-07-17 23:30:31 +00:00
controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks,
mailer_backend: AuthWeb.Pow.Mailer,
web_mailer_module: AuthWeb,
web_module: AuthWeb
config :core, email_from: "example@example.org"
config :content,
generators: [context_app: false]
2020-07-04 02:41:01 +00:00
import_config "../apps/*/config/config.exs"
# 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
2020-07-10 19:39:38 +00:00
config :linguist, pluralization_key: :count
2020-09-30 20:56:22 +00:00
config :content, Content.Scheduler,
jobs: [
{"@hourly", {Content.Sitemaps, :generate, []}}
]
2020-07-10 19:39:38 +00:00
import_config "email_styles.exs"
import_config "admin.exs"
2020-07-10 19:39:38 +00:00
# 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"