Docs cipi.yml Web panel API MCP Guides Compare GitHub Telegram channel
  1. Docs
  2. About
  3. Design decisions

Design decisions

Why MariaDB, PostgreSQL, Valkey, Laravel — and why not local.

About

Why not local?#

Cipi is a production server provisioner: it turns a fresh Ubuntu VPS into an internet-facing host. It doesn't run on a laptop, in local Docker, or behind a home NAT, by design.

A Cipi server needsBecause
A public IPv4 address, no NATDomains must resolve to it and Git providers must reach its webhooks
Full virtualization or bare metal (KVM, VMware, Hyper-V, Xen HVM)Shared-kernel containers (OpenVZ, LXC) can't run the services and firewall Cipi manages; the installer detects them and stops
Ports 22, 80 and 443 reachableSSH, Let's Encrypt validation and HTTPS

Don't install Cipi inside Docker Desktop, OrbStack, Colima, WSL or a local VM expecting a working stack: certificates won't issue, domains won't resolve and webhooks can't arrive. A small VPS is enough for staging.

Every production provisioner has the same constraint. What Cipi doesn't ask for is the difference: no agent phoning home, no external control plane, no cloud account.

Locally, use Laravel Herd, Sail or php artisan serve, then push to a Cipi server for staging and production.

Why MariaDB by default?#

MariaDB (port 3306) is the default because it fits most Laravel apps with zero friction. PostgreSQL is one command away and can run next to it.

ReasonDetail
Drop-in for Laravelmysql driver, same DB_* keys, same migrations; works with TablePlus, DBeaver, Sequel Ace
Built for web concurrencyStrong optimizer and a native thread pool in the community edition, good with PHP-FPM connection churn
Tuned to your VPSCipi sizes innodb_buffer_pool_size from RAM (256 MB on 1 GB hosts up to 4 GB on 16 GB+)
Simple licensingGPL community server, no enterprise feature gates, no Oracle dual-licensing to navigate
Native packagingInstalled from MariaDB.org or Ubuntu; Cipi adds users, backups and vault credentials on top

Why PostgreSQL as an option?#

bash
cipi db install pgsql                       # port 5432, side by side with MariaDB
cipi app create shop --engine=pgsql

Choose PostgreSQL per app when the product needs more than tables:

NeedPostgreSQL gives you
Rich dataJSONB, arrays, ranges, UUID, full-text search, CHECK and exclusion constraints
IndexingB-tree, GIN, GiST, BRIN, partial and expression indexes
Extensionspgcrypto, pg_trgm, PostGIS, pgvector for embeddings and RAG
ConcurrencyMVCC: readers don't block writers; long reports and busy writes coexist
PortabilityThe standard of managed databases, BI tools and data pipelines

The same cipi db workflow covers both engines: create, list, backup, restore, password rotation.

Why Valkey?#

ReasonDetail
Drop-inSame protocol on 6379, same phpredis, same REDIS_* keys; Laravel doesn't notice
Truly open sourceBSD-licensed, stewarded by the Linux Foundation after Redis moved to source-available licences
Native on Ubuntuvalkey-server from the Universe repository, no third-party PPAs
Automatic migrationServers moved from Redis to Valkey on cipi self-update, same password and data

Why Laravel first?#

Knowing the framework lets Cipi automate what generic panels leave to you: the release layout, .env handling, queue workers, the scheduler, Horizon, Reverb, Octane, health routes. Every assumption maps to a known structure, so there's no guesswork. Anything that isn't Laravel still runs as a custom app (WordPress, Symfony, static sites) or a Node app.

Laravel bringsCipi turns it into
Queues and HorizonSupervisor workers, cipi worker horizon enable
ReverbSupervisor process, Nginx /app proxy, REVERB_* keys: cipi app reverb enable
OctaneFrankenPHP apps side by side with FPM: cipi app create --octane
SchedulerOne cron per app, nothing to configure
ScoutMeilisearch on the server: cipi search
Secure defaults and a long support cycleApps you can leave in production for years

Taylor Otwell's mantra is "we must ship". Cipi exists for the same reason: to remove the server work between a developer and a live application.

Why "ci-pi"?#

Cipi is the Italian reading of the letters C and P: Control Panel. A nod to the project's Italian roots, and to what it does under the hood: manage Nginx, PHP-FPM, databases, Supervisor, certificates and the firewall for you.

The mascot is a penguin, a reference to Tux, the Linux mascot drawn by Larry Ewing in 1996. Same species, different attitude: minimal, hand-sketched, happier in the terminal than in the spotlight.