
One Man's Setup
Phillip Harrington Dec 2026
TL;DR: Install as little as possible, run everything else in Docker, and keep one shared set of local services that every project plugs into. Every project gets a real-looking address like reuselists.test, with real HTTPS, so local behaves like production.
If you're a web developer juggling more than one project on one machine, and you want local development to be boring in the good way, maybe there's an idea here you can steal. And some code, too: the Compose file for the shared services, the proxy config, and the Makefile that makes it all work together are linked below.
Install as Little as Possible
The rule I keep coming back to: if it can run in a container, it does. Software I install directly on my Mac is software I have to update, untangle and eventually uninstall. Software in a container is a line in a file, and it goes away when I'm done with it.
Homebrew
The few things that do live on the Mac come from Homebrew, never from installers downloaded off websites. One command installs, one updates everything, one removes. On mine right now:
- git and the GitHub CLI, the AWS CLI, Node, and mkcert (more on that below).
- ImageMagick and the WebP tools. Every image on this site went through them: resized, cropped, converted to WebP, in two sizes. Doing it by command means doing it the same way every time.
- GoAccess, which turns server logs into a readable traffic report.
- curl, for asking a server a question directly, many times a day.
Apps come from Homebrew too, not just command-line tools: Docker Desktop, iTerm2, VS Code, Inkscape, and the non-dev ones like Spotify, Slack and Zoom. Updating everything on the machine is one command.
PHP and Composer are in there too (which breaks my own rule a little). They're for quick one-offs. Every real project runs its PHP in a container, pinned to the version production runs.
Docker
Every project has a Docker Compose file that says exactly what it needs to run: which PHP, which web server, which settings. Clone the repo, run one command, and it's up. No "it works on my machine," because my machine isn't really involved.
It also means a project from five years ago still runs, on the PHP it was written for, without me keeping five years of PHP versions around.
Basic Services
Most of my projects need the same few things: a database, a way to look at the database, somewhere for email to go, and a front door. Rather than give every project its own copies of that plumbing (and compete for ports on the host), I keep them in one Compose project I call basic services, and every other project joins its network.
The Shared Services
- An nginx proxy. The front door, on ports 80 and 443, for every project at once. Each project gets a few lines of config, and the proxy sends a host like
reuselists.testto Reuse Lists,streamtostory.testto Stream to Story, and so on. Projects don't fight over ports. - Mailpit. Every email any project sends locally lands here instead of in someone's inbox. Nothing local ever emails a real person by accident. Mailpit replaced MailHog, which I'd used for years and which stopped getting updates.
- MySQL. One database server for all projects, each project with its own schema. Same version as production, 8.4. The exceptions are projects that need a particular database setup, like an older version, or a primary and a replica to test replication. Those run their own containers, in that project.
- Adminer. A database admin tool in a single PHP file, running in its own container. It's a browser tab, not an app, and it's there when I need it. It does almost everything phpMyAdmin does, but without the bloat and the security headaches. If your VPN or SSH tunnel is set up, Adminer can reach any database on the network, even one in the cloud.

A Redis server isn't in basic services. It runs only in the projects that actually need it, when they need it, instead of always. Redis Commander, the web app I use for looking inside Redis, is in basic services, though. Like Adminer, it's handy across projects. It just doesn't start with everything else: make start-redis brings it up when I need it.
.test and Real HTTPS
Every project gets an address ending in .test, like reuselists.test. That ending is reserved for exactly this: it will never be a real domain on the internet, so there's no chance of a local address colliding with somebody's real site. One line in /etc/hosts points all of them at my own machine.
Why .test and not .dev, which a lot of us used for years? Because .dev became a real top-level domain, owned by Google, and in late 2017 Chrome started forcing every .dev address to HTTPS. Local sites on HTTP broke overnight, all over the world, and .test became the usual choice. (In Chrome, type the https:// in front, or it may search for the address instead of going there.)
And they all use HTTPS, with a real padlock. mkcert makes a little certificate authority that only my machine trusts, and signs a certificate for each project. The proxy serves them.

Why bother?
Because production is HTTPS, and things behave differently without it. Cookies marked Secure don't get sent. Some browser features refuse to work. I once shipped login cookies without the Secure flag for months, because the code that was supposed to notice HTTPS never saw it.
Single sign-on is the big one. Google and Microsoft will only send a login back to an HTTPS address, with an exception for localhost, and reuselists.test isn't localhost. Without real HTTPS locally, you can't even log in to test the login. The closer local is to production, the fewer surprises I find in production.
"Fred, my email is down, I emailed you about it."
Actual Applications
The list of things I actually open every day is short. (The full inventory, hardware included, is on my Uses page.)
- iTerm2, for the terminal. Most of my day happens in it.
- VS Code, for code. Free, fast enough, and everything else plugs into it.
- Inkscape, for anything drawn: logos, icons, the occasional diagram.
- Spotify, lock it in, and rip the knob off.
And Claude
There's one more thing in the terminal these days: Claude, Anthropic's AI, working right alongside me in the same project. A good chunk of the work on this site, and some helpful tweaks to the basic-services setup above, got done that way. How I work with Claude, the good, the bad and the weird, will soon be a post of its own.
Write your setup down
Keep your setup in a repo, even a small one: the Compose file, the proxy config, a README with the steps you'd otherwise forget. Mine is basic services, and it's public, so start there if you like. When I moved to a new Mac in April 2026, I was back up and running on the first day.

