Publish, deploy, update, restart, stop or roll back a web application as a Domino App, and automate those steps over the Apps API or a CI/CD pipeline. Use whenever the user wants to publish, deploy, ship, launch, release or host an app (React/Vite, Streamlit, Dash, Flask, Shiny, Gradio, FastAPI, Rust) on Domino, make an existing app work behind Domino's reverse proxy (app.sh entry point, mandatory 0.0.0.0:8888, DOMINO_RUN_HOST_PATH, relative base, HashRouter, server-side model endpoint calls), create a new App version, deploy an older version, start or stop an App over /api/apps/v1, or set up GitHub Actions deployment to Domino. Not for scaffolding a brand-new app from scratch (domino-app-init) or for diagnosing 404s, blank pages or broken routing in an already published app (domino-debug-proxy); use it when those hand off to publishing.
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Applies to Domino 6.3 and Domino Cloud.
A Domino App runs project code in a container behind Domino's reverse proxy. The proxy authenticates every request, strips the App's URL prefix, and forwards the viewer's token as Authorization: Bearer (secure identity propagation, the default).
0.0.0.0:8888. An App that does not expose a server on that address and port fails to start. Port 8888 is mandatory, not a default.app.sh, or a Python or R script). It is fixed for the life of the App; create a new App to change it.DOMINO_RUN_HOST_PATH wherever a framework needs its base path (Dash requests_pathname_prefix, Gradio root_path). Never assemble it from the project owner, name and run ID; the prefix is not derived from them.base: './', new URL('api/', document.baseURI)), never root-absolute /assets/... or fetch('/api/...'). They break when the App URL lacks its trailing slash; add it (details).VITE_-prefixed variable is compiled into the browser bundle.| Framework | app.sh runs | Details |
|---|---|---|
| Vite + React | node server.js serving a build made once by scripts/build-dist.sh; never installs or builds | REACT-VITE-GUIDE.md |
| Streamlit | streamlit run app.py --server.port 8888 --server.address 0.0.0.0 --server.enableCORS false --server.enableXsrfProtection false | FRAMEWORKS.md |
| Dash | python app.py with Dash(__name__, routes_pathname_prefix='/', requests_pathname_prefix=os.environ.get('DOMINO_RUN_HOST_PATH')) and app.run(host='0.0.0.0', port=8888) | FRAMEWORKS.md |
| Flask | python -m flask run --host=0.0.0.0 --port=8888 or gunicorn -w 4 -b 0.0.0.0:8888 app:app | FRAMEWORKS.md |
| Shiny | R -e 'shiny::runApp("./", port=8888, host="0.0.0.0")' | FRAMEWORKS.md |
| Rust (axum) | the prebuilt binary; never compiles | domino-rust-apps |
Vite: base: './' and HashRouter; BrowserRouter breaks nested routes.
Create, publish and deploy are separate steps. Publishing records an immutable version (code commit, environment revision, mounts, identity propagation); deploying starts it. Hardware tier, autoscaling, vanity URL and iframe settings are deployment settings: changing them restarts the instance without creating a version. Develop in a workspace with App Preview (a real App runtime, author-only at /preview/<draftAppId>), then Publish App, then Deploy the version from the App details page.
Check three things before publishing. Builds: Vite and Rust Apps start a build made once in a Workspace or Job, named by date, with the previous build kept and the label in Version Notes (details). Files: the App runs the project's committed files, so sync first (DFS Workspace: File Changes > Sync to Domino; Git-based: commit and push) or the start fails with entry script 'app.sh' not found. Packages: the App uses the project's Compute Environment, not what you pip install in a Workspace (streamlit: not found, exit 127); check with python -c "import <framework>" and fix it as FRAMEWORKS.md shows.
Injected at start: DOMINO_RUN_HOST_PATH (URL prefix, trailing /), the DOMINO_PROJECT_* and DOMINO_RUN_ID identifiers, DOMINO_STARTING_USERNAME (who started the run, not the viewer), DOMINO_API_HOST and DOMINO_API_PROXY (in-cluster API addresses; never in browser links), plus project and user environment variables (full list). The viewer is the token's preferred_username claim; read domino-username only when no token arrives (Apps with extended identity propagation never get it, and there a client can send its own).
$DOMINO_API_PROXY/api/... with no Authorization header; code that needs a bearer gets one per request from $DOMINO_API_PROXY/access-token.$DOMINO_API_HOST. Without extended identity propagation (published by a SysAdmin or CloudAdmin; viewer consent) most routes reject it, often with 500 (details). No token: return 401, since $DOMINO_API_HOST runs calls without Authorization as the publisher.MODEL_API_URL and MODEL_API_TOKEN from Project environment variables; HTTP Basic with the token as username and password for synchronous endpoints, a bearer for asynchronous ones (details).Auth: https://docs.domino.ai/cloud/reference/api/domino-api-authentication ; legacy API keys (X-Domino-Api-Key) are deprecated.
/api/apps/v1 for create, versions, publish (drafts), start and stop; /api/apps/beta only for instance reads (list instances, logs, real-time logs, views). Full chain, bodies and the logs route: API-APPS.md. CI/CD with GitHub Actions and a service account: REACT-CICD.md.
Docs: https://docs.domino.ai/cloud/platform-capabilities/core-concepts/apps (same under /6.3/). Related skills: domino-app-init (scaffold), domino-debug-proxy (diagnose), domino-api-intro (auth, hosts), domino-ui-bootstrap (design system SPA), domino-extensions (mount an App in the Domino UI).
dominodatalab/domino-claude-plugin
6e5879f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.