devbox create or devbox acquire with --from:
.json, .yaml, .yml, and .toml.
Reading from stdin
Pass- as the path to read the spec from stdin. Stdin is parsed as YAML by default. Use --from_format to override it with json, yaml, or toml:
Fields
Sessions
Each entry insessions has:
Configure one or more
session-command pairs to have the Devbox automatically create sessions and run the specified commands on startup.
Environment Variables
Each entry inenv has a name and exactly one of value or from_secret_id:
Repository
Therepository block supports:
Omit
repository to fall back to the workspace default. To explicitly create a Devbox with no repository checked out:
Network Policy
Thenetwork_policy block restricts outbound network access:
Integrations
Theintegrations object supports:
Example
devbox.yaml
Related topics
devbox create
Every flag accepted alongside
--from.Creating Devboxes
Machine sizes, images, repositories, and workspace defaults.
Sessions
What sessions do once the Devbox starts.