Fyrtal
Comparison

Fyrtal and Docker Swarm.

Swarm is the closest thing to Fyrtal that already exists: containers on a few Linux servers, one declarative file, rolling updates, and no Kubernetes. If Swarm does what you need, it is a good choice and a proven one.

Fyrtal makes different decisions in six places. In short: Swarm connects services with a network and leaves data, HTTPS and access rules to you. Fyrtal connects them with identities, and includes those three.

  1. Who may talk to whom
  2. How services find each other
  3. What a certificate identifies
  4. Where the data lives
  5. How public traffic arrives
  6. How you change what runs
What they share

The same starting point.

No Kubernetes

Both run containers directly on plain Linux hosts, without a cluster platform to assemble first.

One declarative file

A stack file or a spec says which services run, from which images, in how many copies.

Rolling, health-checked updates

Both replace containers gradually and stop when the new version does not become healthy.

Difference 01

Who may talk to whom

In Swarm, services that share an overlay network can all reach each other, and you separate them by creating more networks. Traffic on the overlay is encrypted only if you ask for it. In Fyrtal there is no shared network to be on: a pod accepts a connection only from a service the spec lists as its caller, and every connection is mutual TLS.

Docker Swarm A shared network decides
Overlay network · VXLAN web api db Every service on the network can reach every other Isolation is decided by which networks a service joins Encrypting the overlay is an option you switch on
Fyrtal The spec decides, per service
pod web uses: [api] supervisor pod api uses: [db] supervisor pod db postgres supervisor mTLS mTLS web is not one of db's callers: refused Only the connections the spec names are accepted Always encrypted, both sides always verified
Difference 02

How services find each other

Swarm gives every service a DNS name and a virtual IP, and balances connections to its tasks. It works with any image, unchanged. Fyrtal gives each dependency a fixed port on the pod's own localhost and an env var that says so. There is nothing to resolve, but an application that expects a hostname has to be pointed at the local port once.

Docker Swarm A name and a virtual IP
app embedded DNS name to virtual IP IPVS virtual IP to task overlay VXLAN to the other node db task DB_HOST=db A name lookup, a virtual IP and an encapsulated hop
Fyrtal A local port
pod · api api localhost:5432 supervisor pod · main main postgres supervisor mTLS uses: {main: 5432} A fixed local port. No DNS, no virtual IP, no overlay.
Difference 03

What a certificate identifies

Swarm has a built-in certificate authority too, and uses it well: nodes authenticate to each other and to the managers with mutual TLS. Those certificates identify machines. Fyrtal issues one to every service, from a certificate authority that belongs to a single project, so two projects on the same servers cannot reach each other at all.

Docker Swarm One CA for the cluster
One swarm swarm CA one per cluster node 1 node certificate node 2 node certificate node 3 node certificate Certificates identify machines Every stack on the swarm shares the cluster and its CA
Fyrtal One CA per project
Project · shop shop CA api own certificate main own certificate Project · ledger ledger CA web own certificate billing own certificate Certificates identify services, and last seven days A certificate from one project fails in another
Difference 04

Where the data lives

Swarm runs any database image and leaves storage to you: a volume is local to the node a task lands on, and snapshots, backups and shared storage are separate decisions. That freedom is real, and so is the work. Fyrtal offers only PostgreSQL and Redis, but as part of the spec, on a volume that is snapshotted every five minutes and before each deploy.

Docker Swarm Any store, storage is yours
Node 1 db task local volume stays on this node Node 2 db task, rescheduled a different volume empty A volume is local to its node unless you add a storage driver Snapshots and backups are yours to set up
Fyrtal Two stores, storage included
Host main postgres volume project-owned snapshots 5 min + pre-deploy S3 bucket encrypted backups Declared in the spec as a database, not as a volume to manage PostgreSQL and Redis only
Difference 05

How public traffic arrives

Swarm's routing mesh can publish any TCP or UDP port on every node, which Fyrtal cannot do. For HTTPS you add a reverse proxy such as Traefik or Caddy and let it handle certificates. Fyrtal has that part built in, and nothing else: hostnames, certificates from Let's Encrypt, HTTPS on port 443.

Docker Swarm Any port, bring a proxy
client routing mesh a port on every node reverse proxy Traefik, Caddy: you run it service task certificates ACME set up in the proxy Any TCP or UDP port can be published HTTPS and certificates come from a proxy you add
Fyrtal HTTPS only, built in
client edge routes by server name supervisor terminates TLS app plain HTTP control plane Let's Encrypt certs The edge never decrypts; certificates are automatic HTTPS on port 443 only
Difference 06

How you change what runs

Both replace containers gradually and watch their health. Swarm applies a stack file the moment you run the command. Fyrtal shows a plan first, runs the jobs you marked beforeDeploy, starts the new pods beside the old ones and switches traffic only when all of them are healthy.

Docker Swarm Apply, then roll
stack.yml docker stack deploy applies at once rolling update health-checked Changes start as soon as you run the command Rollback on failure is available when you configure it Migrations and scheduled jobs are separate tooling
Fyrtal Plan, gate, switch
fyrtal.yaml plan what changes apply beforeDeploy job migrations new pods healthy, no traffic traffic switches in one step old pods stop A failed job or an unhealthy pod ends the deploy while the old version is still serving
Where this leads

What this design makes possible next.

Not built yet

None of the following exists today. They are the directions we find most interesting, because each one follows from a decision described above and would be hard to add to a platform built around a shared network.

Because the caller is verified on every stream

  • A dependency map from real traffic: who actually called whom, beside what the spec allows, with uses entries that were never used flagged for removal
  • A connection audit log: every accepted and refused stream, with both identities
  • Short-lived access for people: a database connection for one person, for one hour, on the record
  • Canary by caller: send a share of traffic, or only one calling service, to the new version

Because the platform owns the database and its volume

  • Preview environments with database branches: a writable snapshot is an instant copy of the data, so every pull request can have its own
  • A database role per service: read-only or read-write, declared in the spec, with credentials created and rotated for you
  • Verified restores: last night's backup restored automatically, with a report that it worked
  • Undo a deploy with its data: back to the snapshot taken just before it

Because trust does not depend on the network

  • One project across providers: hosts at two hosting companies in the same project, with no VPN and no peering
  • Bridges between projects and organizations: an explicit link, so one team can offer a service to another
  • An egress allowlist in the spec: the only outside addresses a service may reach

Because every change is a plan first

  • Approvals and policy: production needs a second person; no plan may raise the cost by more than a set share
  • Budgets: a cap per project that makes a plan fail instead of an invoice surprise
  • Safe operations for AI agents: a token that can only produce plans, which a person then approves

Because the supervisor sits outside the pod

  • Scale to zero: the supervisor holds the listening sockets, so it can keep a connection waiting while the pod starts
  • MicroVM pods: for untrusted or per-customer code, with the same networking and identity

Because every address is localhost

  • The same spec on a laptop: with the same ports, so development and production are configured identically
Side by side

The whole comparison in one table.

Docker SwarmFyrtal
Getting startedPart of Docker Engine: docker swarm initA control plane, plus an agent and an edge on every host, under systemd
What you writeA Compose (stack) fileA fyrtal.yaml; a docker-compose.yml can be translated into a first one
Encryption between servicesOptional, per overlay networkAlways on: mutual TLS
Who can call a serviceAnything on the same overlay networkOnly the services that list it under uses
Service discoveryDNS name and virtual IPA localhost port and an env var
Separation between teams or projectsSeparate networks, or separate swarmsA certificate authority per project; organizations and roles
DatabasesAny image; volumes, snapshots and backups are yoursPostgreSQL and Redis with snapshots and optional encrypted backups
Public HTTPSThrough a reverse proxy you runBuilt in, with Let's Encrypt certificates
Other public ports (TCP, UDP)YesNo
JobsOne-off job services; scheduling is extra toolingJobs before a deploy and on a schedule
DeploysApplied at once; rolling update, rollback if configuredPlan first; rolling, and it goes back if the new version is not healthy
SecretsEncrypted in the managers, mounted as filesSealed per project, delivered as env vars
ConsoleCommand line; web UIs are third-partyWeb console, command line and API
Logsdocker service logs and logging driversLatest lines in the console; one line in the spec sends them to your Loki
Control plane availabilitySeveral managers with a built-in quorumOne control plane on PostgreSQL; running pods keep serving without it
AutoscalingNoNo
Track recordMany years in productionYoung
LicenceApache-2.0AGPL-3.0; command line and spec format Apache-2.0
Which one

An honest way to choose.

Docker Swarm

Choose Swarm when

  • You want something that has run in production for years
  • Your images should run unchanged, finding each other by name
  • You publish ports other than HTTPS, such as raw TCP or UDP
  • You need stores other than PostgreSQL and Redis to keep their data
  • You want several managers with a built-in quorum
  • You already have Docker everywhere and Compose files that work
Fyrtal

Choose Fyrtal when

  • Every connection between services has to be encrypted and authenticated
  • Access between services should be written in the spec, not implied by a network
  • Several projects or customers share the same servers and must not reach each other
  • You want PostgreSQL with snapshots and backups without building that yourself
  • You want HTTPS hostnames and certificates without running a proxy
  • You want to see a plan before anything changes

Coming from Swarm: a docker-compose.yml can be translated into a first fyrtal.yaml, with notes on what did not carry over. Try the local demo