# Leaving DigitalOcean

2026-10-14 3:44PM -0700

This month I migrated away from DigitalOcean after their decision to give millions of dollars to Omarchy.

I started by opening a support ticket:

> I've been a DigitalOcean customer for ~9 years but, given the recent news of Digital Ocean's funding of Omarchy, I am looking into alternatives. In an effort to possibly save myself the effort of migrating to another platform, and to provide a data point to your corporate beancounters, I thought I'd ask -- is there any chance of DigitalOcean pulling their funding, given the public backlash to the announcement?
> 
> See: https://stopomarchy.org
> and: https://www.reddit.com/r/linux/comments/1wbyuxr/prior_to_sponsoring_omarchy_with_3m_digitalocean/

And I received the expected nothing-burger response:

> [...]
> Thank you for sharing your thoughts with us and we appreciate you reaching out about this. Please note that our support is focused entirely on the Omarchy open-source community and the project itself. That said, we truly hear your concerns, and are actively reviewing the situation with the seriousness it warrants.
> [...]

So, I found a new hosting provider and began the move.

## Yes And

But why just move things? Let's improve them as we go.

My DigitalOcean "droplet" was a place where I could quickly deploy personal projects I was experimenting with. Things had been thrown together over time with configuration files spread across /etc/, custom shell scripts, and various web servers tied together with an nginx proxy. Additionally there was an entirely separate configuration and cron job for (re)generating Let's Encrypt TLS certificates.

As I tracked down all of the loose threads I'd forgotten over the years, I decided to capture everything into a nice Docker Compose file which could explicitly declare service configurations and interdependencies with one canonical entrypoint, tracked in Git.

I originally reached for nginx to serve as the proxy to the other services, but setting it up to run *inside* of a container was a bit of a pain. If you have nginx configured with proxy_pass for a service, but that service is unreachable when the nginx process starts, nginx just fails to start. According to documentation, you can work around this by adding a `resolve` flag to the proxy upstream (which requires additinally explicitly allocating some extra memory with a `zone`). However, nginx doesn't use the system-configured DNS resolver, you must explicitly configure it via a `resolver` option. But, if you're starting a container dynamically, the IP address of the private network's DNS resolver is not static. Are we expected to write a wrapper to dynamically update the nginx config?

It was at that point I complained to friends:
> Have we not made something better than nginx yet? 🤔

Thankfully, a friend pointed me to Traefik, which solves those problems and more. How had I not heard of it before!? It has several "providers" that can dynamically discover configurations for services without needing to restart the proxy. AND it has built-in support for acquiring Let's Encrypt certificates for services that it discovers that way.

=> https://youtu.be/-hfejNXqOzA Simple HTTPs for Docker! // Traefik Tutorial (updated)

At the time, I was attempting to use Podman instead of Docker, and I found this post very helpful:

=> https://blog.cthudson.com/2023-11-02-running-traefik-with-podman/

But Podman had an issue that was a dealbreaker for me: Podman's network proxy hides the source IP of incoming traffic. All requests will appear as if they came directly from a private IP address within your container's virtual network.

There's a fix for this in Podman 6.x, when using passt version >= passt-0^20260507.g1afd4ed (yes, that is seriously how that project is versioned), but Debian Stable is still on Podman 5.x. Even Nix (which I have the impression is a bit more bleeding edge?) still doesn't have 6.x packages.

=> https://blog.podman.io/2026/09/rootless-podman-preserving-source-ips/

Switching to Docker fixed that. Though, I did have to do a lot of digging to find all of the options to also get it working for IPv6. You've got to add the following to your /etc/docker/daemon.json:

```json
{
	"ipv6": true,
	"fixed-cidr-v6": "fd00:1::/80",
	"ip6tables": true,
	"experimental": true,
	"default-address-pools": [
		{ "base": "172.17.0.0/16", "size": 24 },
		{ "base": "fd00:2::/48", "size": 64 }
	]
}
```

I wish I could say it was all smooth sailing. Containerization tech still seems to be very kludgey. I should've kept notes of all of the comically inscrutable errors I received along the way. One of the most recent was that docker-compose, on seeing an `additional_contexts` entry that points to a directory ending in `.git` (as in: `foo.git`, not `foo/.git`), completely fails to parse it as a directory. Or, if there's a typo defining an additional context, the mismatched context name in the Dockerfile gets interpreted as an image name, which docker tries to download from docker.io. (Which could be a "fun" exploit to have to figure out...) 

But, I'm happy to have things moved to a new host, and now properly configured and containerized for easy redeployment. It should make adding new experiments to my server easier too!
