seawall stack new
Set up a new stack from its folder under paths.stacks: lint, create, allowlist, map, capture.
Usage
seawall stack new [OPTIONS] <DIR>
Changes the host
Without --yes it prints the plan and changes nothing.
Arguments
<DIR>Folder under paths.stacks (e.g. games/vikings)
Options
--name <NAME>Portainer stack name (default: server-<game> for games, else the directory name)
--set-env <NAME>Env vars to set on the stack, taking values from this shell's environment
--allow-lint-errorsCreate it even with hardening errors
--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 new blog --set-env DB_PASSWORD
seawall stack new blog --set-env DB_PASSWORD --yes