Why I use this instead of that

The questions I get most about my rack, and the reasons behind the picks.

Why I use Apache instead of nginx

nginx’s reputation comes from a time when Apache ran PHP inside every worker process. That isn’t how I run Apache. It runs on the threaded event MPM and hands PHP to a separate PHP-FPM pool over FastCGI, which is the same shape as nginx plus PHP-FPM.
Apache reads .htaccess files. WordPress and its plugins write their rewrite and security rules there, and nginx ignores them, so on nginx every one of those rules has to be translated by hand.
nginx’s other big job is the reverse proxy, and I already have one on the firewall: HAProxy decides what the internet reaches. For a small front on a single host, Caddy does the job with automatic HTTPS.
One web server everywhere means one set of config, one set of logs and one set of habits. Any nginx left in my lab is tracked debt to replace.

Why I use Valkey instead of Redis

In 2024 Redis moved from the BSD licence to source-available licences. Valkey is the fork the Linux Foundation took from the last BSD release, and it stays BSD, community-governed and developed in the open.
It’s a drop-in replacement: same protocol, same commands. Apps that ask for “Redis” talk to valkey-server without knowing. The only Redis I keep is where an app’s upstream pins it.
Used as a cache, I run it with persistence off. The default rewrites the whole dataset to disk every few minutes on a busy cache, which wears out disks for data you can rebuild.

Why PostgreSQL first, MariaDB only when I must

PostgreSQL is my default for any app that supports it: one database engine to tune, back up and know well.
MariaDB stays where the app needs it: WordPress, Frappe and ERPNext, or a live database whose data has to be kept.

Why I install services natively instead of in Docker

Each service runs in its own small Proxmox container, installed natively under systemd. The container already gives isolation, so Docker inside it would be a second layer of packaging to patch and debug.
A native install updates with the system’s package manager, logs to the journal like everything else, and can be read and changed by the same automation as the rest of the host. Containers stay for throwaway dev and test tools.

Why the open fork, every time

Everything I run is open source under a licence compatible with the AGPL, so I can keep running it whatever its company decides.
That’s why OpenTofu instead of Terraform, OpenBao instead of Vault, Valkey instead of Redis, Forgejo instead of Gitea, and Jellyfin instead of Emby. In each case the original changed its licence or its ownership, and the community fork kept going.

Why one observability store instead of the Grafana stack

Grafana, Loki, Prometheus, Tempo and Alertmanager are each excellent, and together they’re five services to run and upgrade. OpenObserve holds logs, metrics and traces in one store with dashboards and alerts built in.
Grafana Alloy on every host pushes to it, so no host opens a port for scraping, and Gatus covers uptime.
The short version for every role is on What’s in my rack, with the alternatives I’d point a friend to.