Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _includes/content/compose-var-sub.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ provide inline default values using typical shell syntax:
- `${VARIABLE-default}` evaluates to `default` only if `VARIABLE` is unset
in the environment.

Similarly, the following syntax allows you to specify mandatory variables:
Similarly, the following syntax allows you to specify mandatory variables when
using **Compose 1.19.0+** or `docker stack deploy` **18.04.0+**:

- `${VARIABLE:?err}` exits with an error message containing `err` if
`VARIABLE` is unset or empty in the environment.
Expand Down