Skip to main content
Domino can run apps built in a variety of popular frameworks. Below are minimal examples that demonstrate how to start each supported type of app. These are intended to help you get a working stub up and running quickly.
Port selection is flexible and port 8888 is no longer required.

Dash (Python)

Dash is a lightweight Python framework for building interactive analytic apps with Plotly visualizations.
  • Make sure dash is installed in your environment.
  • Use routes_pathname_prefix='/' for proper routing inside Domino.

Streamlit (Python)

Streamlit is a rapid app framework for turning Python scripts into shareable web apps with minimal code.
In your .sh file, launch with:
  • Streamlit apps require a separate .sh such as app.sh startup script.
  • You can configure the route prefix using DOMINO_RUN_HOST_PATH.

Flask (Python)

Flask is a lightweight Python web framework that is ideal for creating custom endpoints or fully bespoke applications.
  • Works out of the box with Domino’s routing and identity headers.

Shiny (R)

Shiny is R’s standard framework for building interactive web applications with reactive components.

Option 1: Inline R script

Option 2: Shell script to launch Shiny

In your .sh file:
Note the following:
  • In the past, Shiny had to run on localhost:8888 to work in Domino. However, port selection is now flexible and port 8888 is no longer required.
  • User-level identity headers are only supported by Shiny Server Pro.
These minimal examples are designed to help you quickly stand up a working app in Domino using your preferred framework. Each framework has specific requirements for launch behavior and routing, but all follow the same basic pattern.

Next steps