# depot bake can now build with multiple projects in parallel (https://depot.dev/changelog/2024-06-07-depot-cli-bake-multiple-projects)

> Published 2024-06-07

Our latest release of the [`depot` CLI](/docs/cli/installation) now has a faster way to build
[Docker Compose](/blog/depot-with-docker-compose) files that was previously not possible.

With a new `x-depot` bake extension, you can now specify multiple [projects](/docs/container-builds/overview#projects) to build in a single `depot bake` command. Allowing each project to build in parallel on its own BuildKit builder with its own isolated cache!

Similar to [`x-bake`](https://docs.docker.com/build/bake/compose-file/#extension-field-with-x-bake) the `x-depot` key is a Docker Compose extension that allows you to optionally specify the project ID for each service in your `docker-compose.yml` file.

```yaml
services:
  srv1:
    build:
      dockerfile: ./Dockerfile.srv1
      x-depot:
        project-id: project-id-1
  srv2:
    build:
      dockerfile: ./Dockerfile.srv2
      x-depot:
        project-id: project-id-2
```

Just like before, if you run `depot bake -f docker-compose.yaml` all targets are built, but now each `project-id` will be built in parallel on its own dedicated builder and cache.

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.