Apps in Domino must serve traffic on TCP port
8888. The examples below use that port.Dash (Python)
Dash is a lightweight Python framework for building interactive analytic apps with Plotly visualizations.-
Make sure
dashis 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..sh file, launch with:
-
Streamlit apps require a separate
.shsuch asapp.shstartup 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:
-
Shiny must run on
0.0.0.0:8888to work in Domino. - User-level identity headers are only supported by Shiny Server Pro.
Next steps
- Apps in Domino gives an overview of how apps work within the Domino ecosystem.
- Create an App covers the two entry points for a new App, and why creating one no longer deploys it.
- Learn more about how Apps in Domino run and what identity and permissions are used.