BSD Cafe - Technical Details

Currently, the infrastructure of BSD Cafe relies entirely on FreeBSD, with both IPv4 and IPv6 connectivity.

The base setup is divided into jails:

The https://mastodon.bsd.cafe instance is structured as follows:

https://wiki.bsd.cafe is confined within a single jail and runs the nginx, php and (of course) the DokuWiki CMS.

https://miniflux.bsd.cafe is structured similarly, contained within a single jail, housing both the Miniflux software and PostgreSQL. In this case, we utilize a local installation.

https://freshrss.bsd.cafe is a single jail service, housing both the FreshRSS stack (Apache and PHP) and PostgreSQL.

https://matrix.bsd.cafe is structured similarly, contained within a single jail, housing both the Synapse software, PostgreSQL and the Whatsapp bridge. In this case, we utilize a local installation.

https://blendit.bsd.cafe is composed of two FreeBSD jails: one for PostgreSQL, and the other contains the rest (the frontend in Node and the backend in Rust).

https://press.bsd.cafe is a FreeBSD jail running all the stack for Wallabag: nginx, php, postgresql, valkey.

https://brew.bsd.cafe is a FreeBSD jail running PostgreSQL, KeyDB and Forgejo.

https://snac.bsd.cafe is a FreeBSD jail running Snac2. Only a few strict Snac2 dependencies have been installed.

https://status.bsd.cafe is a FreeBSD jail running Uptime Kuma. This will monitor the other services' reachability and lives in an external VPS.

All communication takes place through a Wireguard routed setup. More details here: https://it-notes.dragas.net/2024/08/01/evolving-bsd-cafe-from-bridging-to-routing/

Some network statistics are available at https://netstats.bsd.cafe

Backups are systematically generated via ZFS snapshots and externally replicated across two distinct machines located in separate data centers, different from the production VPS data center.