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
Options
--compose <COMPOSE>A compose file other than the stack's own
--set-env <NAME>Take this variable's value from your shell's environment (repeatable; never typed on the command line)
--yesCarry out the plan (without it, this is a dry run)
--data-backed-upEach database has a tested backup of yours: no restore-tested dump from the last 24h needed
Examples
seawall stack create blog --compose ~/docker/blog/compose.yml
seawall stack create blog --compose ~/docker/blog/compose.yml --yes