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
Options
--to <TO>Where it goes: compose or portainer
--silence <SILENCE>How long to silence its container alerts for the move; 0 for none
--yesCarry out the plan (without it, this is a dry run)
--confirm <NAME>The stack's name, to make a severe change without a terminal (
--yesalone asks for it to be typed)--waitAfter a redeploy, wait out the 2-minute compare with before. Without it the facts timer runs it (
SeawallDeployWorse)
Examples
seawall stack migrate ntfy --to compose
seawall stack migrate ntfy --to compose --yes