seawall stack create

Create a new stack in Portainer from a compose file (prefer stack new).

Usage

seawall stack create [OPTIONS] --compose <COMPOSE> <STACK>

Changes the host

Without --yes it prints the plan and changes nothing.

Arguments

<STACK>

The stack, by Portainer name or directory

Required.

Options

--compose <COMPOSE>

A compose file other than the stack's own

Required.

--set-env <NAME>

Take this variable's value from your shell's environment (repeatable; never typed on the command line)

--yes

Carry out the plan (without it, this is a dry run)

--data-backed-up

Each database has a tested backup of yours: no restore-tested dump from the last 24h needed

Every command also takes the global options.

Examples

seawall stack create blog --compose ~/docker/blog/compose.yml
seawall stack create blog --compose ~/docker/blog/compose.yml --yes