Let an installed app drop a need

Taking sso or email out of needs removes the client or mail account once
the new version answers; postgres or mysql need --drop-database (coreapp
deploy asks for the app's name). Their settings leave .env first, so a
postgres -> mysql switch gets mysql's own values; a failed update rolls
back with them intact. The route wait now compares traefik's answer with
the app's own, so an app's 404 isn't taken for a missing route.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:02:03 -07:00
co-authored by Claude Opus 5.5
parent f56641bbe1
commit adcd2f9aec
6 changed files with 148 additions and 28 deletions
+1 -1
View File
@@ -86,7 +86,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; a failed update rolls back to the version before (`--recreate`: a fresh container even if nothing changed) |
| `coreapp deploy [--recreate] [--drop-database]` | 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). Needs added to `coreapp.toml` are set up; needs taken out are removed once the new version works, and taking out `postgres` or `mysql` (deleting the database) needs `--drop-database`, which asks you to type the app's name |
| `coreapp check` | It answers at `https://<name>.<domain><health>` with a valid certificate |
| `coreapp core` | What the Core in the VM offers apps: PostgreSQL (and which extensions an app can enable), MariaDB, Authelia, the mail server and Traefik with their versions, Docker, and the machine |
| `coreapp mail` | What the Core's mail server did with the mail the app sent in the last day: accepted from its account, then delivered, deferred or bounced, with the reason (apps with `email`) |