Add coreapp core and "What the Core offers" to the skill
coreapp core prints what the Core in the VM offers apps, live: PostgreSQL and which extensions an app can enable itself (the trusted ones; pgvector needs a superuser), MariaDB, Authelia, the mail server, Traefik, Docker and the machine. The skill has the same table with today's versions and says to check the app's requirements against it before choosing a need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -104,6 +104,31 @@ that are read by shell and YAML:
|
||||
|
||||
`coreapp deploy` checks the file first and says exactly what's wrong.
|
||||
|
||||
## What the Core offers
|
||||
|
||||
The Core runs these for its apps. Versions are today's; `coreapp core`
|
||||
prints the ones the Core in the VM actually runs, and Federated updates
|
||||
them with the Core. Check the app's requirements against them before
|
||||
choosing a need (its docs, the images in its own compose file, its
|
||||
migrations): a feature the Core's version lacks fails only when the code
|
||||
using it runs, so deploy, `coreapp check` and a sign-in can all pass.
|
||||
|
||||
| What | Today | For the app |
|
||||
|---|---|---|
|
||||
| PostgreSQL | 17.6 | `needs = ["postgres"]` |
|
||||
| PostgreSQL extensions the app can enable (`CREATE EXTENSION` in its migrations) | btree_gin, btree_gist, citext, cube, fuzzystrmatch, hstore, intarray, isn, lo, ltree, pg_trgm, pgcrypto, seg, tablefunc, unaccent, uuid-ossp, ... | |
|
||||
| Extensions only the Core can enable | vector (pgvector 0.8.1), pg_stat_statements, dblink, postgres_fdw, ... | not available to apps yet: report it |
|
||||
| MariaDB | 12.1.2 | `needs = ["mysql"]` |
|
||||
| Authelia | 4.39 | `needs = ["sso"]`: OpenID Connect sign-in with Core accounts |
|
||||
| Mail server | docker-mailserver 16 | `needs = ["email"]`: sending, SMTP with STARTTLS |
|
||||
| Traefik | 3.7 | HTTPS and the certificate in front of every app |
|
||||
| Docker, Compose | 29, 5.1 | one container per app |
|
||||
| Machine | x86_64, 4 CPUs, 7.7 GB memory (the dev VM) | build images for `linux/amd64`; `/data` is on btrfs |
|
||||
|
||||
What's inside the image is the app's own: its language runtime, SQLite and
|
||||
other libraries are whatever the Dockerfile installs, not the Core's.
|
||||
SQLite in `/data` is a fine database for an app that supports it.
|
||||
|
||||
## Needs
|
||||
|
||||
### `postgres`: its own database
|
||||
@@ -279,6 +304,7 @@ app's container. If it's optional
|
||||
|
||||
```bash
|
||||
command -v coreapp && coreapp-vm list
|
||||
coreapp core # what this Core offers apps, with versions
|
||||
```
|
||||
|
||||
`coreapp-vm list` should show the VM `coreserver` running. If `coreapp` is
|
||||
|
||||
Reference in New Issue
Block a user