Templates

Templates

Deploy apps from the template catalog.

stackblaze templates

Alias: template

search browses the template catalog, or searches it with a query. deploy deploys a template as a new app in the project in scope (environment default production).

usage
stackblaze templates search [query] [--category <name>] [-n <limit>]
stackblaze templates deploy <template> [options]

With deploy --wait --json, stdout carries one JSON document with the readiness check under wait; a wait that does not end ready exits 1.

FlagDescription
--category <name>search: filter by category
-n, --limit <n>search: maximum results
--name <name>deploy: app name (default: from the template)
--deployment-type <id>deploy: standard (default) or ha, when the template offers it
--env <KEY=value>deploy: override a template variable (repeatable)
--waitdeploy: wait until the app is running

Also accepts the scope flags (-p, --pipeline, --phase, -a, --app) and the output flags (-o, --output, --json), plus --token and --api-url. Common flags

Examples

terminal
stackblaze templates search postgres
stackblaze templates search --category analytics -n 5
stackblaze templates deploy n8n -p automations --name n8n --wait