Control Stacks (up/down/update)
v1.0
·
Updated 5 days ago
Start, Stop and Update Stacks
/compose-up — start a stack
Starts a known project with up -d:
/compose-up homeserver monitoring
Bring up a new stack that the server does not know yet via an absolute path:
/compose-up homeserver --file /srv/newstack/docker-compose.yml
/compose-down — stop a stack
/compose-down [server] <project> [--remove] stops a stack. By default only stop runs (the project stays indexed); with --remove a full down is performed.
If the project is marked critical (see "Protected Resources"), the command requires a matching confirmation token:
/compose-down homeserver db --confirm=db
/compose-update — update images
/compose-update [server] <project> runs pull + up -d (pull new images and recreate containers). For critical projects the same --confirm=<project> rule as for /compose-down applies.