One YAML file per project
Both describe services and databases in a single readable file that lives next to your code.
Docker Compose is how most containerized apps start: one docker-compose.yml, one command, and your web service, worker and database are running. For local development and small single-server apps, nothing is simpler.
Taking Compose to production means wiring the rest around it yourself: a reverse proxy, TLS certificates, secrets management, database backups, zero-downtime rollouts, and a second server when one is not enough. Fyrtal keeps the one-file shape and builds those production pieces in.
Both describe services and databases in a single readable file that lives next to your code.
Neither asks for Kubernetes manifests, Helm charts or custom operators.
Both run comfortably on inexpensive Linux servers without cloud-provider dependencies.
Docker Compose drives the Docker daemon on one machine. There is no control plane, no scheduler, and no team console — which makes it effortless on a laptop, and manual once you have several projects or hosts. Fyrtal adds a lightweight control plane and three small Rust programs per host so the same single file runs across machines with role-based access.
Compose places every service in the file onto one default bridge network in plain TCP: if web is compromised, it can connect straight to db unless you manually carve up multiple internal networks. In Fyrtal, connections are closed by default: a pod only accepts mutual TLS from a caller named in uses, signed by the project's certificate authority.
Docker Compose gives every service its YAML name via Docker's embedded DNS server (db:5432), which works out of the box on a single host. Fyrtal exposes each dependency on the pod's own localhost port and injects matching env vars like DATABASE_URL and API_URL — and the exact same local port works whether the target pod is on the same host or another machine.
With Compose, running PostgreSQL or Redis is a volume mount — which means passwords, snapshots, encrypted off-host backups, retention and restore procedures are scripts you write and keep alive yourself. Fyrtal treats PostgreSQL and Redis as first-class resources with five-minute and pre-deploy snapshots plus optional encrypted S3 backups and point-in-time recovery.
Docker Compose publishes container ports straight onto the host, so serving HTTPS means installing and maintaining Caddy, Nginx or Traefik alongside your stack. Fyrtal includes public HTTPS on port 443 with automatic Let's Encrypt certificates, and supports path-based routing in spec.routes.
Updating a service with docker compose up -d stops the running container and starts the new one in place, causing a brief gap unless you build your own blue-green script. Fyrtal previews changes in a plan, runs beforeDeploy migration jobs first, boots new pods beside the old ones, and switches traffic only once every new pod is healthy.
| Docker Compose | Fyrtal | |
|---|---|---|
| Best suited for | Local dev and simple single-host stacks | Production web apps, APIs, workers, Postgres and Redis |
| Hosts | One machine per command | One or many Linux hosts under one control plane |
| What you write | docker-compose.yml | fyrtal.yaml (can be generated from a Compose file) |
| Service discovery | Embedded Docker DNS on one host | Fixed localhost port + env vars across any host |
| Encryption & caller rules | Plain TCP on bridge networks | Mutual TLS per project, restricted to uses |
| Secrets | .env files or local files on disk | Sealed per project, delivered as env vars or secretFiles |
| Databases & backups | Plain container + volume; scripts for backups | PostgreSQL & Redis with 5-min snapshots, encrypted S3 backups and PITR |
| Public HTTPS | Install Caddy, Nginx or Traefik yourself | Built in on port 443 with Let's Encrypt |
| Other public ports | Yes, any TCP or UDP port | No (HTTPS on 443 only) |
| Deploys & migrations | Recreate in place; migrations by hand | Plan first, beforeDeploy job, health-gated switch and rollback |
| Scheduled jobs | Host cron or a separate scheduler container | Built-in cron jobs in the spec |
| Console & team access | SSH to the server | Web console, CLI, API, SSO and per-environment RBAC |
| Local development | Native on macOS, Windows and Linux | Local Docker demo; production targets Linux servers |
| Logs & metrics | docker compose logs on the host | Multi-pod console log explorer, Loki forwarding, Prometheus metrics |
| Track record | Ubiquitous | Young |
| Licence | Apache-2.0 | AGPL-3.0; command line and spec format Apache-2.0 |
Coming from Docker Compose: paste your docker-compose.yml into New project → Import (or run the CLI translator) to generate a first fyrtal.yaml, with notes on what did not carry over.
Try the local demo