coreapp.toml's [postgres] or [mysql] min_version: the installer compares it with the Core's PostgreSQL or MariaDB on install and update, and refuses an older Core with both versions, instead of the app failing later. coreapp core reads the versions the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
40 lines
1.6 KiB
TOML
40 lines
1.6 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" (or "mysql"): the oldest server version the app works
|
|
# with, so an older Core refuses it; for postgres, extensions the app's
|
|
# database user can't make itself, made by the Core (coreapp core lists
|
|
# the versions and extensions it has)
|
|
# [postgres]
|
|
# min_version = "16"
|
|
# extensions = ["vector"]
|