Not OP but self hosting isn’t all or nothing. I self host a few things but wouldn’t currently switch from GitHub because: it’s pretty cheap, it works well, its popularity adds some useful network effects, and Actions is a nice CI solution for some projects. If I were to self host a git remote I’d probably end up still using GitHub for certain projects (especially OSS). I’d rather have all my code projects in one place for simplicity. Can’t see any strong arguments for self hosting GitHub currently, other than to satisfy a perfectionist urge to get to 100% self hosting.
I would agree on using caddy (or traefik) as a web-server, because of a built-in ACME support.
The one thing what doesn't get covered on this topic is how to make multiple users. For what it worth I never needed to mess with htpasswd in my life ever.
Overall it is a good recipe on how to make you own registry, kudos.
https://docs.github.com/en/packages/working-with-a-github-pa...