coreapp new --postgres --sso: database and sign-in together
Overlays no longer replace service: each names the Core apps it needs in .depends, merged into DEPENDS. The sign-in code is a module (oidc.py) that examples import; templates/postgres-sso is the combined example (sign-in, each person's visits counted in PostgreSQL). Tested with team-visits, including sign-in in a browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,6 +60,7 @@ the app's own `Dockerfile`. The README in each new app explains the files.
|
||||
| `coreapp new <name>` | Make an app in `./<name>`; it gets an address in 192.168.200.x on the Core |
|
||||
| `coreapp new --postgres <name>` | The same, with its own database on the Core's PostgreSQL (a Python example app that uses it) |
|
||||
| `coreapp new --sso <name>` | The same, with sign-in through the Core's Authelia (OpenID Connect; a Python example app) |
|
||||
| `coreapp new --postgres --sso <name>` | Both: a database and sign-in (the example counts each person's visits) |
|
||||
| `coreapp deploy` | Build its image, copy it to the Core over SSH, install it, or update it keeping its `.env` |
|
||||
| `coreapp check` | It answers at its `MONITOR` URL with a valid certificate |
|
||||
| `coreapp status` / `logs [-f]` / `shell` | Its container, its log, a shell in it |
|
||||
@@ -110,6 +111,7 @@ stay installed.
|
||||
| `bin/coreapp-vm` | Creates and manages CoreServer VMs (`coreapp-vm help`) |
|
||||
| `bin/coreapp` | Makes, deploys and tests apps (`coreapp help`) |
|
||||
| `templates/app/` | What `coreapp new` starts from |
|
||||
| `templates/postgres/`, `templates/sso/` | Laid over it by `--postgres` / `--sso` (`*.append` files are added to the base file; `.remove` lists base files to drop) |
|
||||
| `templates/postgres/`, `templates/sso/` | Laid over it by `--postgres` / `--sso`: their files replace the base's; `*.append` files are added to the base file, `.remove` lists base files to drop, `.depends` the Core apps it needs (merged into `DEPENDS`) |
|
||||
| `templates/postgres-sso/` | The example app when both are used |
|
||||
| `uninstall.sh` | Removes what coreapp-dev set up |
|
||||
| [PLAN.md](PLAN.md), [TEST.md](TEST.md) | What's next, and how to test it |
|
||||
|
||||
Reference in New Issue
Block a user