seawall stack migrate

Move a running stack between Portainer and Compose, keeping its volumes.

Move a running stack between Portainer and Compose, keeping its volumes

A dry run first, then a backup, a health check, and the old side put back if the new one fails.

Usage

seawall stack migrate [OPTIONS] --to <TO> <STACK>

Changes the host

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

Arguments

<STACK>

The stack, by Portainer name or directory

Required.

Options

--to <TO>

Where it goes: compose or portainer

One of compose, portainer. Required.

--silence <SILENCE>

How long to silence its container alerts for the move; 0 for none

Default 15m.

--yes

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

--confirm <NAME>

The stack's name, to make a severe change without a terminal (--yes alone asks for it to be typed)

--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 migrate ntfy --to compose
seawall stack migrate ntfy --to compose --yes