Source: examples/marimo
Run marimo on SkyPilot#
Run a personal marimo server on a SkyPilot cluster.

Launch with CLI#
Launch a marimo cluster with the command:
sky launch -c marimo-example marimo.yaml
Next, run this command to get the endpoint to connect via the browser:
sky status marimo-example --endpoints
Customization#
The marimo.yaml file can be customized to change the port, password, and other options. Check the docs for more information.
Included files#
marimo.yaml
# Example: Launch marimo and auto-expose its port to Internet.
#
# Usage:
# # First, launch the compute node
# $ sky launch -c marimo-example marimo.yaml
# # Next, get the endpoint to connect to over the browser
# $ sky status marimo-example --endpoints
# # This is an alternative to port forwarding.
resources:
ports:
- 29324
workdir: .
setup: pip install uv
# Check the docs for more options: https://docs.marimo.io/cli/#marimo-edit
run: uvx marimo edit --port 29324 --headless --host=0.0.0.0 --token-password='secretpassword'