Skip to content

How it works

You give CargoForge a docker-compose.yml. It checks the file, works out what each service needs, and runs every service in its own lightweight virtual machine (Kata Containers), not a shared container host. Your services can’t see other customers’ services, and theirs can’t see yours.

  • Each service has a fixed size. It gets the CPU and memory you set as its limit (or 0.5 vCPU and 1 GB if you set none), and that’s what it’s billed on. See Directives.
  • Published ports become HTTPS addresses. Every port you publish gets its own hostname with a certificate. The host port you wrote (8080 in "8080:80") is ignored. See Structure.
  • Services find each other by name. db:5432 works between services of the same project, like with Docker Compose.
  • Named volumes persist across redeploys and restarts, and are backed up. See Volumes.
  • Redeploys don’t drop traffic. The new copy starts before the old one stops, except for services that must never run twice, such as databases. See Fragile services.
  • Hosts can fail; your app moves. If the server your project runs on goes down, it’s moved to another one in the same region, with its latest backup restored. See Failover.

Every deploy is checked first. The check reports:

  • errors, which stop the deploy (a missing image, a setting that isn’t allowed, a size over your plan’s limit);
  • notices, for parts of the file that are accepted but not applied as written (an ignored key, a skipped profiles: service).

The dashboard runs it when you deploy. To run it alone, without deploying, use POST /projects/{id}/deployments/validate in the API or the validate_compose MCP tool. Each deployment’s Compose tab shows the file you sent next to exactly what ran.