Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
For self hosting there is also https://forgejo.org/ which is a fork of https://about.gitea.com/ , the latter of which started to shift to a corporate model.
Another upvote for forgeo. So easy to get set up and running. Can run it in docker itself. I tried to host gitlab and got so frustrated with the pages and pages of ruby configs. Forgejo is so much cleaner.
The is also Codeberg
technically the same as forgejo, codeberg is the main forgejo contributor/the org owning it
Oh! Is it?
Well, living and learning haha
Quick question: forgejo is the git program that you can install self host a git server, while codeberg is probably the biggest forgejo-kind git server that is open to the public, right?
I dont have a home server to host forgejo (yet?), so I'm thinking of making an account on codeberg, is that correct reasoning?
If you own a domain, hosting Forgejo on a $5 Debian cloud server works perfectly for your personal use case. My site admin panel shows it's using 75MB of actual RAM (not allocated/virtual), it's truly very lightweight. Disk use is very low, just however big your git repos actually are is the key.
The internal SQlite database option is just fine, don't need to bother with PostgreSQL if you're only doing it for yourself (the DB only holds referential info, the actual git data is stored on disk in normal git directories). There's a built in backup command so you can build a simple shell script to run the dump command periodically and back up the entire thing to a tarball.
re: Codeberg, the only "downside" (not really) is they are for FOSS licensed projects only and frown upon using their service for your personal private non FOSS needs (they're not draconian about it, but it's part of the ethos the service is for FOSS licensed projects to use).
Oh thank you for the detailed answer😄
I think codeberg is for me in my case. (Btw, I barely know git, I'm gonna read a guide today.) I really like foss, so I will probably create foss stuff.
I really want to make a nas in the future, so I might host my own forgejo instance locally and possibly keep a backup on a cloud storage provider (bought 2tb lifetime on filen). I have somewhat big plans for my nas, but I don't know what I'll eventually do😆
So far I barely use git, so I probably dont need to rent a cloud server. Thanks again though:)
Suggestion: start learning git by using your
$HOME
config files as the first thing you learn how to manage; mentally easy to understand, low friction and just basic git commands needed. One of the most popular repo names we all use isdotfiles
so you have plenty of examples to learn from: https://codeberg.org/explore/repos?q=dotfilesYeah, (among others) I really want to learn git to sync dotfiles and the nixos configs
(Hopefully I'll probably have tranitioned to nixos in a few months. If I get good enough and somehow build a nas, I might use nixos instead of debian in the server too.)
Pretty much yes, codeberg integrates some additional services and branding on top (such as codeberg-pages for static page hosting or forgejo-runners for CI) but you can integrate those yourself as well, it's just extra work.
If you're looking for an open alternative to github/gitlab codeberg is imo definitely the way to go
Yo thank youu:)
I did an inplace upgrade of gitea to forgejo. No issues.
I've been self hosting this for 2 or 3 years now.
There has been zero maintenance other than the occasional update button
I use it for my docker compose files that portainer pulls from with the click of the button to update my containers when needed.
I edit the files in VS code with the git plugin and it works without issue
Thanks! This looks actually really interesting. Did you try doing CI/CD with it? In future I would probably collaborate with others who'd be also using my self-hosted Git. What would be critical for me is that I can set it up in a way that once I open a PR that branch automatically gets deployed to a dev Kubernetes environment and when I merge with main that it automatically deploys to staging and only when I release a tag the branch would end up in prod. Also I'd like to do secrets management over the platform. I like that Forgejo would be non-commercial and I would prefer it over GitLab if it can do these things well.
I'd also like to add that Forgejo is working on federation along with GitLab. I think Forgejo will do it first though.