120
submitted 1 year ago by khoi@slrpnk.net to c/selfhosted@lemmy.world

I'm looking to self-host a GitHub alt on a cheap Linux VPS for personal use. Any rec?

you are viewing a single comment's thread
view the rest of the comments
[-] Carol2852@discuss.tchncs.de 27 points 1 year ago

If you just want a remote to push your code to without issues, projects, pull requests and such you can use git only: https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server

[-] khoi@slrpnk.net 8 points 1 year ago

This is actually a good idea! No need to over engineer stuff 😅

[-] TCB13@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

@khoi@slrpnk.net if you're okay with that I suggest you check out this https://gitolite.com/gitolite/overview.html.

In short "Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.". It doesn't require some background daemon running, uses the server's SSH and it is a simple script that deals with access control so you can easily manage your users and repositories. The "cherry on top" is that you control your git "server" using a git repository :P

[-] Goodtoknow@lemmy.ca 2 points 1 year ago
this post was submitted on 12 Nov 2023
120 points (95.5% liked)

Selfhosted

39677 readers
270 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS