seawall stack env set

Set or replace one value, then deploy what runs now with it.

Usage

seawall stack env <STACK> set [OPTIONS] [NAME]

Changes the host

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

Arguments

<NAME>

The variable (asked for on a terminal when left out)

Options

--from-env

Take the value from this shell's environment, not typed

--yes

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

--confirm <NAME>

A database's own setting: its name, typed ahead (else asked for on a terminal)

--data-backed-up

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

--start

Start a stopped stack with the change (a stopped stack takes env only with a start)

--wait

After a redeploy, wait out the 2-minute compare with before. Without it the facts timer runs it (SeawallDeployWorse)

Every command also takes the global options.

Examples

seawall stack env nextcloud set SMTP_PASSWORD --yes