command
Thecompose command runs commands against the active sitectl context.
Use it when you want the same operation to respect the site and environment wiring already stored in the context.
Reference
Run docker compose commands on sitectl contexts. This command wraps docker compose and automatically applies compose files, env files, and project directory based on the current context. All docker compose commands and flags are supported. Automatic behaviors:compose upautomatically adds-d—remove-orphans“ if not already specifiedcompose buildautomatically adds--pullif not already specified- Compose file paths (-f flags) are injected from context.ComposeFile setting
- Env file paths (
--env-fileflags) are injected from context.EnvFile setting - Working directory is set to context.ProjectDir
--context prod up # Start containers on prod context

