Deploying
How Launchmatic builds and deploys your code, from git push to live URL.
Build pipeline
Every deployment follows the same pipeline:
Runtime detection
Launchmatic inspects your project root for known config files:
| File | Runtime |
|---|---|
| package.json | Node.js |
| requirements.txt / pyproject.toml | Python |
| go.mod | Go |
| Cargo.toml | Rust |
| Gemfile | Ruby |
| index.html | Static |
| Dockerfile | Docker (custom) |
If a Dockerfile exists it always takes priority. Otherwise Launchmatic generates one based on the detected runtime.
Custom Dockerfiles
Place a Dockerfile in your project root for full control. Launchmatic will use it as-is. Make sure your Dockerfile exposes the correct port and runs a process on startup.
Rollbacks
Every deployment is immutable. To roll back, click the “Redeploy” button on any previous successful deployment. Launchmatic will re-deploy that exact image and config.
Scale to zero
Idle services are automatically scaled to zero replicas after a configurable inactivity period (default: 30 minutes). When a request arrives, the proxy wakes the service within seconds. This keeps costs minimal for staging and hobby projects.