// video
Create a Launchable on NVIDIA Brev (video)
Updated
Chapters
- 0:00 What a Launchable needs from a repo
- 0:36 The public source rule
- 0:53 Compose or a setup script
- 1:16 Pinning images and git sources
- 1:39 Launch parameters and secrets without defaults
- 2:02 The console fields
- 2:30 The fresh-deploy smoke test
- 2:49 Publishing and what cannot be undone
- 3:12 Keeping it working
The film turns one real public compose file into a checklist: images and checkouts pinned, ports and the private API, the launch parameter, the disk and its data, then a fresh-deploy test.
Transcript
A Launchable is a reproducible, shareable environment on NVIDIA Brev, deployed from a link onto a new instance. Here is how to build one, with a real public example.
Most of the work happens in the repository. It needs a compose file or setup script that starts the stack, with every version pinned, a README for a stranger, and a list of the values deployers supply.
If your code comes from git, it must be public: Brev asks for a public repository URL. Make the repository public, or export what deployers need to a public one, like our Ollama and Open WebUI folder.
Next, choose how it runs: usually VM Mode or Docker Compose. VM Mode gives you Python, CUDA and Docker, plus a setup script you write. Docker Compose runs a multi-container app from a file you upload or link from GitHub or GitLab. Our example uses Compose.
Then pin every version, because a Launchable stays the same only when everything is pinned. Pin images to a version tag or a digest, and checkouts to a release tag or a commit. Our example pins both images by tag; a digest from your first pull pins them fully.
Anything a deployer supplies at start, such as an API key or a model ID, becomes a launch parameter, Text or Choice. In our example, MODEL is a Choice. Give a key no default; make it a Text parameter, optionally linked to a saved organization secret. Then the repository holds no key at all.
Open the Launchables builder in the Brev console. It asks for a name, default hardware, software configuration, source, network, launch parameters and view access. The name cannot be changed later. Size the disk for the models and data it downloads, and give each HTTP service a Secure Link, like Open WebUI on port 8080.
Before you share it, test a fresh deploy; that is what a new user gets. Deploy from its own link on a new instance, as a stranger would. Check every service. Stop, start, and check again. Then delete the instance and record the date.
To share, copy the link. To list it in Explore, set view access to Everyone and turn on Publish to community; switching back removes it from search. Some steps are final: the name, and deleting an instance, which removes all its data. Deleting a Launchable is permanent too.
To keep it working, remember that pins fall behind until someone updates them. When you move a pin, run the fresh-deploy test again. And in VM Mode the setup script runs only once, so have it install anything that must start on every boot.
So: a public repository, a pinned compose file or setup script, a README for a stranger, parameters instead of keys, and a fresh-deploy test before you share and after every pin change.
The full guide is at www.9owls.com.