Skip to main content

hivepaas template

The template store

hivepaas template [command]

Aliases: template, templates

hivepaas template deploy​

Create an app from a template of the store, with the apps it depends on, and deploy them.

--param NAME=VALUE gives a parameter, and --dep-param DEP.NAME=VALUE one of a dependency's: a volume by its name, an app by its name or key. A volume parameter left out takes the project's only volume.

First the server checks what a previous install left where the new apps would keep their data. If it finds some, the apps are created only with --keep-storage, to start on it, or --reset-storage, to delete it first - or with the answer to a question in a terminal.

hivepaas template deploy TEMPLATE [flags]

Examples:

hivepaas template deploy postgres --name orders-db -p shop -e staging --param dataVolume=default

Flags:

FlagDescription
--dep-param stringArraya dependency's parameter, DEP.NAME=VALUE
--image-tag stringan image tag instead of the version's
--keep-storagecreate the apps on what a previous install left
--name stringthe app's name: the template's when left out
--no-waitcreate the apps and return, without waiting for their deployments
--param stringArraya parameter, NAME=VALUE; repeat for more
--reset-storagedelete what a previous install left, then create
--timeout durationhow long to wait for the deployments (default: 30m0s)
--variant stringthe version's variant: its default when left out
--version stringthe template's version: its default when left out

hivepaas template ls​

List the templates

hivepaas template ls [flags]

Flags:

FlagDescription
--category stringa category, such as databases or databases/sql
--search stringmatch name, title, tagline, tags and aliases
--sort stringname, popular, trending or new (default: name)

The global flags apply to every command.