Roll back failed updates to the version that ran before
coreapps keeps copies of the app's service folder, .env and compose file during an update. If it fails before the app answers, it tears down needs the update added, restores the copies, starts the old version and removes the new image. Data isn't rolled back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ each new app explains the files and the settings it gets.
|
||||
| `coreapp new --postgres --sso <name>` | Both: a database and sign-in (the example counts each person's visits) |
|
||||
| `coreapp new --mysql <name>` | (Instead of `--postgres`, with no example app.) Its own database on the Core's MariaDB |
|
||||
| `coreapp new --email <name>` | (With any of the above.) Sending mail through the Core's mail server, with the app's own account |
|
||||
| `coreapp deploy [--recreate]` | Build its image, copy it to the Core over SSH, install it, or update it keeping its settings and data (`--recreate`: a fresh container even if nothing changed) |
|
||||
| `coreapp deploy [--recreate]` | Build its image, copy it to the Core over SSH, install it, or update it keeping its settings and data; a failed update rolls back to the version before (`--recreate`: a fresh container even if nothing changed) |
|
||||
| `coreapp check` | It answers at `https://<name>.<domain><health>` with a valid certificate |
|
||||
| `coreapp status` / `logs [-f]` / `shell [command]` | Its container, its log, a shell in it (or one command, without a terminal) |
|
||||
| `coreapp list` | The apps on the Core installed this way |
|
||||
|
||||
Reference in New Issue
Block a user