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,
|
2021-01-08 03:55:45 +08:00
|
|
|
url: [host: "localhost"],
|
2021-03-04 05:56:28 +08:00
|
|
|
pubsub_server: Livebook.PubSub,
|
2021-04-08 17:41:52 +08:00
|
|
|
live_view: [signing_salt: "livebook"]
|
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
|
|
|
|
|
2021-04-15 21:50:29 +08:00
|
|
|
# Sets the default authentication mode to token
|
|
|
|
config :livebook, :authentication_mode, :token
|
2021-02-11 19:42:17 +08:00
|
|
|
|
2021-05-10 20:37:38 +08:00
|
|
|
# Sets the default runtime to ElixirStandalone.
|
|
|
|
# This is the desired default most of the time,
|
|
|
|
# but in some specific use cases you may want
|
2021-06-09 22:24:02 +08:00
|
|
|
# to configure that to the Embedded or Mix runtime instead.
|
2021-05-10 20:37:38 +08:00
|
|
|
# Also make sure the configured runtime has
|
2021-06-09 22:24:02 +08:00
|
|
|
# a synchronous `init` function that takes the
|
|
|
|
# configured arguments.
|
|
|
|
config :livebook, :default_runtime, {Livebook.Runtime.ElixirStandalone, []}
|
2021-05-10 20:37:38 +08:00
|
|
|
|
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"
|