mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-28 15:28:44 +00:00
15 lines
495 B
Elixir
15 lines
495 B
Elixir
import Config
|
|
|
|
config :bonfire_search,
|
|
disable_indexing: System.get_env("SEARCH_INDEXING_DISABLED", "false"),
|
|
adapter: Bonfire.Search.Meili,
|
|
# protocol, hostname and port
|
|
instance: System.get_env("SEARCH_MEILI_INSTANCE", "http://search:7700"),
|
|
# secret key
|
|
api_key: System.get_env("MEILI_MASTER_KEY", "make-sure-to-change-me")
|
|
|
|
# for use by API client
|
|
config :tesla, adapter: Tesla.Adapter.Hackney
|
|
config :phoenix, :format_encoders, json: Jason
|
|
config :phoenix, :json_library, Jason
|