Skip to content

Commit 0d1fba2

Browse files
author
Your Name
committed
Document smart backend env vars
1 parent b9fa55d commit 0d1fba2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/OPSM-API.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ payloads that evaluate to a JSON object, for example:
3838
* `POST /smart/plan` -> `{ "tokens": [...] }` or `{ "command": "opsm install ..." }`
3939
* `POST /smart/apply` -> executes plan (no dry-run)
4040

41+
== Backend Environment Variables
42+
43+
Some backends require extra context:
44+
45+
* `OPSM_TOOLBOX_NAME` (default: `default`)
46+
* `OPSM_DISTROBOX_NAME` (required for distrobox backend)
47+
* `OPSM_CONTAINER_IMAGE` (required for container backend)
48+
* `OPSM_CONTAINER_CMD` (optional; default `dnf install -y`)
49+
4150
== Response Formats
4251

4352
`/smart/plan` returns a grouped plan plus backend availability:

0 commit comments

Comments
 (0)