I’ve started building a small decentralized, non commercial app with a Rust backend + Node.js frontend running on k8s. I would have my own dedicated server for this. Just mentioning the setup because it might grow and for git there seem to be only GitHub and GitLab around and I prefer GitLab.

I care a lot about security and was wondering if it makes sense to self-host GitLab. I‘m not afraid of doing it, but after setup it shouldn’t take more than 1-2 hours per week for me to maintain it in the long run and I’m wondering if that’s realistic.

Would love to hear about the experience of people who did what I’m planning to do.

EDIT: Thanks for all the answers, trying my best to reply. I want CI/CD, container registry and secrets management that’s what I was hoping to get out of GitLab.

  • liliumstar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    Gitlab uses a ton of resources and is a pain to setup. Once you get it going, it’s fine.

    Going to echo what others have said: Use Gitea or Forgejo instead if you can. Both have runners you can setup like gitlab, but they instead mimic github actions instead of gitlab ci/cd.

    I run a semi-private gitea instance, and have not had any problems past the initial setup in 2+ years.

  • Matt@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    24 days ago

    there seem to be only GitHub and GitLab around

    Gitea, Forgejo, and cgit exist

  • interurbain1er@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    First question is why do you want a forge ? Knowing the feature you need out of it is what should drive your decision.

    Personally I would question the benefit of allocating ~5% of your work time to anything that isn’t core building your product but that’s up to you.