livebook/config/config.exs

45 lines
1.2 KiB
Elixir
Raw Normal View History

import Config
2021-01-08 03:55:45 +08:00
# Configures the endpoint
config :livebook, LivebookWeb.Endpoint,
2023-10-31 23:36:45 +08:00
adapter: Bandit.PhoenixAdapter,
url: [host: "localhost", path: "/"],
pubsub_server: Livebook.PubSub,
live_view: [signing_salt: "livebook"],
2023-03-26 04:52:18 +08:00
drainer: [shutdown: 1000],
render_errors: [formats: [html: LivebookWeb.ErrorHTML], layout: false]
2021-01-08 03:55:45 +08:00
# 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
# Additional mime types
config :mime, :types, %{
"audio/m4a" => ["m4a"],
"text/plain" => ["livemd"]
}
config :livebook,
teams_url: "https://teams.livebook.dev",
agent_name: "livebook-agent",
2022-04-15 19:46:26 +08:00
app_service_name: nil,
app_service_url: nil,
authentication_mode: :token,
2023-12-19 16:14:03 +08:00
feature_flags: [],
2022-11-10 23:03:50 +08:00
force_ssl_host: nil,
learn_notebooks: [],
plugs: [],
shutdown_callback: nil,
2022-11-10 23:03:50 +08:00
update_instructions_url: nil,
within_iframe: false,
2023-11-16 20:57:28 +08:00
allowed_uri_schemes: [],
aws_credentials: false
2021-01-08 03:55:45 +08: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"