Design decisions
Why MariaDB, PostgreSQL, Valkey, Laravel — and why not local.
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 needs | Because |
|---|---|
| A public IPv4 address, no NAT | Domains 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 reachable | SSH, 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.
| Reason | Detail |
|---|---|
| Drop-in for Laravel | mysql driver, same DB_* keys, same migrations; works with TablePlus, DBeaver, Sequel Ace |
| Built for web concurrency | Strong optimizer and a native thread pool in the community edition, good with PHP-FPM connection churn |
| Tuned to your VPS | Cipi sizes innodb_buffer_pool_size from RAM (256 MB on 1 GB hosts up to 4 GB on 16 GB+) |
| Simple licensing | GPL community server, no enterprise feature gates, no Oracle dual-licensing to navigate |
| Native packaging | Installed from MariaDB.org or Ubuntu; Cipi adds users, backups and vault credentials on top |
Why PostgreSQL as an option?#
cipi db install pgsql # port 5432, side by side with MariaDB
cipi app create shop --engine=pgsqlChoose PostgreSQL per app when the product needs more than tables:
| Need | PostgreSQL gives you |
|---|---|
| Rich data | JSONB, arrays, ranges, UUID, full-text search, CHECK and exclusion constraints |
| Indexing | B-tree, GIN, GiST, BRIN, partial and expression indexes |
| Extensions | pgcrypto, pg_trgm, PostGIS, pgvector for embeddings and RAG |
| Concurrency | MVCC: readers don't block writers; long reports and busy writes coexist |
| Portability | The 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?#
| Reason | Detail |
|---|---|
| Drop-in | Same protocol on 6379, same phpredis, same REDIS_* keys; Laravel doesn't notice |
| Truly open source | BSD-licensed, stewarded by the Linux Foundation after Redis moved to source-available licences |
| Native on Ubuntu | valkey-server from the Universe repository, no third-party PPAs |
| Automatic migration | Servers 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 brings | Cipi turns it into |
|---|---|
| Queues and Horizon | Supervisor workers, cipi worker horizon enable |
| Reverb | Supervisor process, Nginx /app proxy, REVERB_* keys: cipi app reverb enable |
| Octane | FrankenPHP apps side by side with FPM: cipi app create --octane |
| Scheduler | One cron per app, nothing to configure |
| Scout | Meilisearch on the server: cipi search |
| Secure defaults and a long support cycle | Apps 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.