2021-02-16 19:29:41 +08:00
|
|
|
import Config
|
2021-01-08 03:55:45 +08:00
|
|
|
|
|
|
|
# Configures the endpoint
|
2021-03-04 05:56:28 +08:00
|
|
|
config :livebook, LivebookWeb.Endpoint,
|
2023-10-31 23:36:45 +08:00
|
|
|
adapter: Bandit.PhoenixAdapter,
|
2022-11-30 06:34:38 +08:00
|
|
|
url: [host: "localhost", path: "/"],
|
2021-03-04 05:56:28 +08:00
|
|
|
pubsub_server: Livebook.PubSub,
|
2023-03-16 03:59:57 +08:00
|
|
|
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
|
|
|
|
|
2023-09-26 00:45:19 +08:00
|
|
|
# Additional mime types
|
2021-11-01 20:59:39 +08:00
|
|
|
config :mime, :types, %{
|
2023-09-26 00:45:19 +08:00
|
|
|
"audio/m4a" => ["m4a"],
|
2021-11-01 20:59:39 +08:00
|
|
|
"text/plain" => ["livemd"]
|
|
|
|
}
|
|
|
|
|
2022-04-14 21:52:28 +08:00
|
|
|
config :livebook,
|
2024-02-13 16:27:25 +08:00
|
|
|
agent_name: "livebook-agent",
|
2024-05-08 16:05:01 +08:00
|
|
|
allowed_uri_schemes: [],
|
2022-04-15 19:46:26 +08:00
|
|
|
app_service_name: nil,
|
|
|
|
app_service_url: nil,
|
2022-04-14 21:52:28 +08:00
|
|
|
authentication_mode: :token,
|
2024-05-08 16:05:01 +08:00
|
|
|
aws_credentials: false,
|
|
|
|
epmdless: false,
|
2023-12-19 16:14:03 +08:00
|
|
|
feature_flags: [],
|
2022-11-10 23:03:50 +08:00
|
|
|
force_ssl_host: nil,
|
|
|
|
learn_notebooks: [],
|
2022-04-14 21:52:28 +08:00
|
|
|
plugs: [],
|
2024-05-14 19:22:17 +08:00
|
|
|
rewrite_on: [],
|
2022-11-11 01:09:01 +08:00
|
|
|
shutdown_callback: nil,
|
2024-05-08 16:05:01 +08:00
|
|
|
teams_url: "https://teams.livebook.dev",
|
2022-11-10 23:03:50 +08:00
|
|
|
update_instructions_url: nil,
|
2024-05-08 16:05:01 +08:00
|
|
|
within_iframe: false
|
2021-11-03 05:32:58 +08:00
|
|
|
|
2024-03-27 03:20:07 +08:00
|
|
|
config :livebook, Livebook.Apps.Manager, retry_backoff_base_ms: 5_000
|
|
|
|
|
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"
|