Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1KB

  1. # This file is responsible for configuring your application
  2. # and its dependencies with the aid of the Mix.Config module.
  3. #
  4. # This configuration file is loaded before any dependency and
  5. # is restricted to this project.
  6. use Mix.Config
  7. # General application configuration
  8. config :pleroma,
  9. ecto_repos: [Pleroma.Repo]
  10. config :pleroma, Pleroma.Upload,
  11. uploads: "uploads"
  12. # Configures the endpoint
  13. config :pleroma, Pleroma.Web.Endpoint,
  14. url: [host: "localhost"],
  15. protocol: "https",
  16. secret_key_base: "aK4Abxf29xU9TTDKre9coZPUgevcVCFQJe/5xP/7Lt4BEif6idBIbjupVbOrbKxl",
  17. render_errors: [view: Pleroma.Web.ErrorView, accepts: ~w(json)],
  18. pubsub: [name: Pleroma.PubSub,
  19. adapter: Phoenix.PubSub.PG2]
  20. # Configures Elixir's Logger
  21. config :logger, :console,
  22. format: "$time $metadata[$level] $message\n",
  23. metadata: [:request_id]
  24. config :mime, :types, %{
  25. "application/xrd+xml" => ["xrd+xml"]
  26. }
  27. # Import environment specific config. This must remain at the bottom
  28. # of this file so it overrides the configuration defined above.
  29. import_config "#{Mix.env}.exs"