livebook/config/config.exs
Jonatan Kłosko 75eb031719
Automate searching and adding new dependencies (#1081)
* Automate searching and adding new dependencies

* Restructure runtime management

* Leave search restrictions up to the runtime

* Support predefined dependencies in Embedded runtime dependency search

* Use the embedded runtime for dependency search test

* Fix typo

* Use module for loading embedded runtime dependencies

* Improve naming
2022-04-01 20:13:37 +02:00

34 lines
936 B
Elixir

import Config
# Configures the endpoint
config :livebook, LivebookWeb.Endpoint,
url: [host: "localhost"],
pubsub_server: Livebook.PubSub,
live_view: [signing_salt: "livebook"]
# 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
# Add mime type to upload notebooks with `Phoenix.LiveView.Upload`
config :mime, :types, %{
"text/plain" => ["livemd"]
}
# Sets the default storage backend
config :livebook, :storage, Livebook.Storage.Ets
# Sets the default authentication mode to token
config :livebook, :authentication_mode, :token
config :livebook, :plugs, []
config :livebook, :explore_notebooks, []
# 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"