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)

Required.

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-errors

Create it even with hardening errors

--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 new blog --set-env DB_PASSWORD
seawall stack new blog --set-env DB_PASSWORD --yes