mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-17 18:45:15 +00:00
docs: improve all available values from ENV_TEMPLATE_VARIABLES
This commit is contained in:
parent
18ce1f2fe4
commit
cbe32cbc15
@ -367,6 +367,16 @@ class Filters:
|
|||||||
|
|
||||||
#: List of extra variables to be included in all templates.
|
#: List of extra variables to be included in all templates.
|
||||||
#:
|
#:
|
||||||
|
#: Out of the box, this filter will include all configuration settings, but also the following:
|
||||||
|
#:
|
||||||
|
#: - `HOST_USER_ID`: the numerical ID of the user on the host.
|
||||||
|
#: - `TUTOR_APP`: the app name ("tutor" by default), used to determine the dev/local project names.
|
||||||
|
#: - `TUTOR_VERSION`: the current version of Tutor.
|
||||||
|
#: - `is_buildkit_enabled`: a boolean function that indicates whether BuildKit is available on the host.
|
||||||
|
#: - `iter_values_named`: a function to iterate on variables that start or end with a given string.
|
||||||
|
#: - `iter_mounts`: a function that yields compose-compatible bind-mounts for any given service.
|
||||||
|
#: - `patch`: a function to incorporate extra content into a template.
|
||||||
|
#:
|
||||||
#: :parameter filters: list of (name, value) tuples.
|
#: :parameter filters: list of (name, value) tuples.
|
||||||
ENV_TEMPLATE_VARIABLES: Filter[list[tuple[str, Any]], []] = filters.get(
|
ENV_TEMPLATE_VARIABLES: Filter[list[tuple[str, Any]], []] = filters.get(
|
||||||
"env:templates:variables"
|
"env:templates:variables"
|
||||||
|
Loading…
Reference in New Issue
Block a user