Files
coreapp-dev/templates/app/coreapp.toml
T
davidandClaude Opus 5.5 cf18bef278 Let an app ask for PostgreSQL extensions its user can't make
coreapp.toml's [postgres] extensions = ["vector"]: the installer checks
the Core's PostgreSQL has each one (refusing before anything changes if
not) and makes them in the app's database as the superuser, with CASCADE,
on install and every update. Ones taken off the list are kept, since the
data may use them. Also fixes the check refusing needs with both postgres
and mysql, which never ran.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 20:28:33 -07:00

37 lines
1.4 KiB
TOML

# What a Federated Core needs to know to install {{TITLE}}. coreapp-dev's
# installer (coreapps) makes the rest from it: the container on the Core's
# network, https://{{NAME}}.<domain>, its settings and secrets.
# Its id and hostname: https://{{NAME}}.<domain>
name = "{{NAME}}"
title = "{{TITLE}}"
description = "{{TITLE}}, made with coreapp-dev"
# Its documentation, linked from the Core's dashboard (installed from a
# repository, it defaults to the repository)
# docs = "https://..."
# The image, as image:version. localhost/... images only exist where
# coreapp deploy copies them; a published app names its registry, e.g.
# gitea.example.com/owner/{{NAME}}. Raise the version for each release.
image = "localhost/coreapp/{{NAME}}"
version = "0.1.0"
# The port the app serves HTTP on, and a path that answers when it's up
port = 8080
health = "/"
# What it needs from the Core: "postgres" or "mysql" (its own database), "sso"
# (sign-in with Core accounts through Authelia), "email" (sending mail)
needs = []
# With "sso": only if the app's sign-in can't use the defaults
# [sso]
# callback = "/auth/callback" # the path it sends people back to
# pkce = true # whether it sends PKCE (S256)
# token_auth = "client_secret_basic" # or "client_secret_post"
# With "postgres": extensions the app's database user can't make itself,
# made by the Core (coreapp core lists what it has)
# [postgres]
# extensions = ["vector"]