Value Patterns
Several fields accept a scalar shorthand that expands to an object:
| Field | Shorthand | Expands to |
|---|---|---|
requires[] |
"postgres" |
{ type: "postgres" } |
supports[] |
"redis" |
{ type: "redis" } |
env.VAR |
"8080" |
{ default: "8080" } |
build |
"." |
{ context: "." } |
health |
"/health" |
{ path: "/health" } |
commands.start |
"node app.js" |
{ command: "node app.js" } |
depends_on[] |
"backend" |
{ component: "backend" } |
Booleans and numbers are also valid shorthand for env values (they become the default).