<.text_field
label="URL"
help={
~S'''
If you provide the URL you
will host your instances at,
Livebook will use it to
generate direct links
throughout its interface
'''
}
field={@form[:url]}
/>
<.select_field
label="Clustering"
help={
~S'''
When running multiple
instances of Livebook,
they need to be connected
into a single cluster.
You must either deploy
it as a single instance
or choose a strategy to
connect the instances.
'''
}
field={@form[:clustering]}
options={[
{"Automatic", "auto"},
{"DNS", "dns"},
{"Single instance", ""}
]}
disabled={@disabled}
/>
See the
Clustering docs
for more information.
Automatic clustering is available when deploying to Fly.io and Kubernetes.