Clarify Clustering is Docker specific

This commit is contained in:
José Valim 2024-04-22 23:04:50 +02:00
parent f7ccdcbc6d
commit d58986c5bf

View file

@ -1,6 +1,6 @@
# Clustering
If you plan to run several Livebook instances behind a load balancer, you need to enable clustering via the `LIVEBOOK_CLUSTER` environment variable. `LIVEBOOK_DISTRIBUTION` is automatically set to `name` if clustering is enabled.
If you plan to run several Livebook instances behind a load balancer, you need to enable clustering via the `LIVEBOOK_CLUSTER` environment variable in your Docker image. `LIVEBOOK_DISTRIBUTION` is automatically set to `name` if clustering is enabled.
Depending on the clustering strategy of your choice, you must set additional environment variables, oftentimes, at runtime. When using the Livebook Docker image, you can create a file at `/app/user/env.sh` that exports the necessary environment variables. This file is invoked right before booting Livebook.