forge app restart
Restart a deployed app (docker compose stack).
Command
forge app restart <appId> [--yes]
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
| string | yes | App ID |
Flags
| Flag | Type | Default | Notes |
|---|---|---|---|
| bool | | Skip confirmation dialog |
Examples
Restart with confirmation:
forge app restart app_xxxxx
Skip confirmation:
forge app restart app_xxxxx --yes
Errors
| Exit code | Meaning |
|---|---|
| 0 | Restart queued successfully |
| 1 | Failed to restart |
Pitfalls
- Confirmation — you are prompted to confirm unless
is passed.--yes - Docker compose stack — this restarts all containers in the app's compose stack.
See also
{auto-injected}
Tested against
{auto-injected}