# Fyrtal > Fyrtal is an open-source application cloud that you run on your own Linux servers. A managed service is planned but not available yet. One YAML spec per project describes its services, jobs, PostgreSQL and Redis databases, secrets and hostnames. Services talk to each other over mutual TLS issued by a certificate authority that belongs to the project. It is written in Rust and does not use Kubernetes. Fyrtal is young: the spec format is `fyrtal/v1alpha1`. It is aimed at standard web applications, APIs, workers and databases on a few servers, not at large or highly customised fleets. Facts that are easy to get wrong: - There is no cluster network, overlay, cluster DNS or service mesh. A service reaches a dependency on its own `localhost`, on a port taken from `uses` in the spec, and receives matching env vars such as `API_URL=http://localhost:10000`. - `uses: [api, main]` assigns ports from 10000 in order. `uses: {main: 5432}` names the port. - A pod accepts connections only from services of the same project that list it under `uses`. Every such connection is mutual TLS. A certificate from another project is rejected. - Every project has its own certificate authority, and every service its own certificate. Applications never handle certificates. - Components: a control plane (API, console, scheduler, project CAs), an agent on every host, an edge on every host for public traffic, one supervisor per pod, and the `fyrtal` command line. - Public traffic is HTTPS on port 443 only (HTTP/1.1, HTTP/2, `h2c`, gRPC and WebSockets), with Let's Encrypt certificates and optional path-based routing under `spec.routes`. Other public ports and raw TCP/UDP are not supported. - Managed databases are PostgreSQL and Redis only, one instance each, on a project volume with five-minute and pre-deploy snapshots plus optional encrypted S3 backups and PostgreSQL point-in-time recovery (WAL archiving). There is no standby replica. - Object storage buckets can be declared under `spec.buckets` (platform-managed or 3rd-party S3 such as AWS S3, Cloudflare R2, Hetzner Object Storage, Backblaze B2, Scaleway or MinIO) and attached to services via `uses` or database `backup`. - Secrets are sealed per project and injected as environment variables or mounted as read-only `secretFiles`; small inline config files can be mounted via `files`. - Developers connect locally to private services and databases with `fyrtal proxy ` over the existing mTLS tunnel. - Images are pulled, never built. A CI pipeline builds and pushes the image; Fyrtal runs it. - A deploy shows a plan first, runs jobs marked `run: beforeDeploy`, starts new pods beside the old ones and switches traffic when they are healthy. There is no autoscaling. - Logs: the console shows the latest lines. `spec.logs.loki` names a Loki service of the project that every pod's lines are sent to. - Access: OIDC SSO (Google, GitHub, Microsoft Entra ID or custom org OIDC) and per-environment RBAC. - Licence: AGPL-3.0. The command line and the spec format are Apache-2.0. A minimal spec: ```yaml apiVersion: fyrtal/v1alpha1 kind: Application metadata: name: shop spec: zone: eu-de-1 services: api: image: ghcr.io/acme/shop:1.12.0 port: 8080 replicas: 2 public: true uses: [main] jobs: migrate: image: ghcr.io/acme/shop:1.12.0 command: ["./migrate", "up"] run: beforeDeploy uses: [main] databases: main: engine: postgres storage: 20Gi ``` ## Website - [Overview](https://fyrtal.cloud/): what Fyrtal is, what it replaces, self-hosting, and the planned managed service - [Architecture](https://fyrtal.cloud/architecture): nine design statements with diagrams, from mTLS channels and host-side per-pod supervisors to logs - [Fyrtal and Kubernetes](https://fyrtal.cloud/vs-kubernetes): seven differences, a comparison table, and when to choose which - [Fyrtal and K3s](https://fyrtal.cloud/vs-k3s): seven differences, a comparison table, and when to choose which - [Fyrtal and Docker Swarm](https://fyrtal.cloud/vs-docker-swarm): six differences, a comparison table, and when to choose which - [Fyrtal and Coolify](https://fyrtal.cloud/vs-coolify): six differences, a comparison table, and when to choose which - [Fyrtal and Docker Compose](https://fyrtal.cloud/vs-docker-compose): six differences, a comparison table, and when to choose which - [Fyrtal and Fly.io](https://fyrtal.cloud/vs-fly-io): six differences, a comparison table, and when to choose which - [Fyrtal and AWS ECS](https://fyrtal.cloud/vs-aws-ecs): six differences, a comparison table, and when to choose which ## Documentation - [README](https://github.com/fyrtal/fyrtal/blob/main/README.md): summary, the programs it consists of, and how to try it locally - [Quickstart](https://github.com/fyrtal/fyrtal/blob/main/docs/quickstart.md): a first project from spec to running service - [Spec reference](https://github.com/fyrtal/fyrtal/blob/main/docs/spec.md): every key of `fyrtal.yaml` - [Deploying](https://github.com/fyrtal/fyrtal/blob/main/docs/deploying.md): deploying from a pipeline - [Databases](https://github.com/fyrtal/fyrtal/blob/main/docs/databases.md): PostgreSQL and Redis, snapshots, backups and restores - [Secrets](https://github.com/fyrtal/fyrtal/blob/main/docs/secrets.md): how secrets are stored and reach a pod - [Hostnames](https://github.com/fyrtal/fyrtal/blob/main/docs/hostnames.md): default and custom hostnames, certificates - [Looking at what runs](https://github.com/fyrtal/fyrtal/blob/main/docs/observing.md): logs, Loki, and metrics for Prometheus - [What Fyrtal does not do](https://github.com/fyrtal/fyrtal/blob/main/docs/limits.md): the current limits, stated plainly ## Migrating - [Moving in](https://github.com/fyrtal/fyrtal/blob/main/docs/moving-in.md): translating a `docker-compose.yml`, `Procfile`, `fly.toml` or Kubernetes manifests into a first spec - [Coming from Kubernetes](https://github.com/fyrtal/fyrtal/blob/main/K8S_MIGRATION.md): what maps to what, and what does not carry over ## Optional - [Architecture document](https://github.com/fyrtal/fyrtal/blob/main/ARCHITECTURE.md): the full design and the reasons for it - [Installing on servers](https://github.com/fyrtal/fyrtal/blob/main/INSTALL.md): machines, DNS, ports and install scripts - [Billing model](https://github.com/fyrtal/fyrtal/blob/main/BILLING.md): how the planned managed service will price a reservation