Do you self-host Git repos too? reddit / selfhosted ---------------------------------------------------------------------- salslab · 2023-12-12 08:17 Hi folks, I am developing a tool for Docker - basically as GUI for managing Docker containers - view/start/stop containers, delete unused images, deploy compose files, etc. I started my career as a developer but in the last 5-6 years I did DevOps and was missing development. So this project was an excuse to learn React, Golang and all the new Development frameworks. Gradually I will add more and more modern features to the tool but it will take a few months to do so. I had posted about this project in r/SideProject 2 weeks ago and (as expected) a few people bashed me that this is 2023 and no one needs this tool, there is no market for it, graphical tools promote bad practices and we should use IaC, etc. :) I know these things but I just started developing the tool and it will take me a few months to add all these features. I noticed this subreddit last week and I saw a few posts of similar GUI tools like Portainer, Yacht, Dockge here. So I guess some of you guys might actually like this tool - and hopefully will not bash me :) Now to come to the point of this post, the next feature I am planning to add is integration with Git so that we can deploy compose files straight from Git, CI/CD type thingy, webhooks, etc. I wanted to know if the folks in r/selfhosted self-host Git repos too or you use GitHub? So that I can try to add support for popular self-hosted Git repos if there is demand. Check my tool here: [https://dokemon.dev](https://dokemon.dev/) Its very basic and I don't say it much better than other tools available (yet). But I am spending good amount of time working on this, and in a few months it will probably have a few useful features :) ---------------------------------------------------------------------- Rare_Local_386 · 2023-12-12 08:35 I kinda don’t understand why would I need this tool. Isn’t docker desktop already has everything like that? ---------------------------------------------------------------------- salslab · 2023-12-12 08:38 Docker Desktop is for local development. The tool is for servers, you can install it on servers and manage containers on your servers. You can also manage multiple servers by installing agents on the servers you need to manage - something like Portainer does. ---------------------------------------------------------------------- Nixellion · 2023-12-12 08:40 It sounds more like an alternative to portainer. Who uses docker desktop to manage servers? ---------------------------------------------------------------------- Cylian91460 · 2023-12-12 08:40 I do selfhost a git server but most of the time it's only projects that I don't consider being developed enough to go on GitHub or app that directly goes to the server (and gets automatically built and installed). It allows le to run all the latest git versions of the app and report bugs so you don't have it on your debian that don't have the update because debian. ---------------------------------------------------------------------- Nixellion · 2023-12-12 08:40 Yes, many people do: GitLab, Gitea, Forgejo, OneDev, etc ---------------------------------------------------------------------- xneo1 · 2023-12-12 08:53 I just saw your project and inserted it in my [Portainer Templates Github.](https://github.com/xneo1/portainer_templates) Nice and clean UI, thanks for your time and effort! ---------------------------------------------------------------------- salslab · 2023-12-12 08:59 Great, thank you! Feels good when someone appreciates :) I will continue to add nice features to it and in a few months it should be much more useful. ---------------------------------------------------------------------- Cybasura · 2023-12-12 09:06 This looks interesting, is this like a simplified portainer that focuses on managing over large scale deployments? ---------------------------------------------------------------------- equipmentmobbingthro · 2023-12-12 09:09 How does it differ from Portainer? ---------------------------------------------------------------------- salslab · 2023-12-12 09:11 Doesn't do anything more than Portainer at the moment. Portainer might have many more features currently. But I will be adding new features in the coming months. ---------------------------------------------------------------------- salslab · 2023-12-12 09:12 Yes its a new tool so it only has basic features at the moment. It is closed source project currently. ---------------------------------------------------------------------- Cybasura · 2023-12-12 09:15 I like the basic nature of it and thats what I'm looking for because it does the job well and is focused, other programs can do other stuff However, in light that this is a closed source project that is trying to be handling my docker self-hosted services - I will not be using it until you open source it ---------------------------------------------------------------------- equipmentmobbingthro · 2023-12-12 09:15 What kind of features would those be? I've been playing around with Portainer for about a month, so I'm curious. ---------------------------------------------------------------------- _TheLoneDeveloper_ · 2023-12-12 09:17 Looks nice, ldaps auth would be nice to have if you plan to target big companies. ---------------------------------------------------------------------- salslab · 2023-12-12 09:21 I am currently working on variables/environments which will be released in a few weeks. Later there will be Git integration, continuous deployments from Git, webhooks, etc. After that I will add support for K3S, K8S, Docker Swarm. Deployments to KXS will be done using Kompose (https://kompose.io) which means your compose.yaml files will be translated to K8S YAML and deployed to Kubernetes. These are a few high level ideas I have. If you have any pain points do let me know and I will try to implement features to solve them :) ---------------------------------------------------------------------- equipmentmobbingthro · 2023-12-12 09:22 Ok, sounds cool. Thanks :) ---------------------------------------------------------------------- salslab · 2023-12-12 09:23 Yes, once a few basic features are done, I will work on LDAP, SSO (OAuth/SAML), etc. ---------------------------------------------------------------------- surreal3561 · 2023-12-12 09:28 >integration with Git so that we can deploy compose files straight from Git, CI/CD type thingy, webhooks, etc. I use portainer to do this, it has stacks which is essentially docker compose files, I pull them from self hosted gitea and trigger deployment/pull via webhook if drone CI tests pass. The main reason I'm using portainer for this are the portainer agents, which I have running on multiple machines and VMs. ---------------------------------------------------------------------- bufandatl · 2023-12-12 09:29 Yes but I have some projects that are pushed to github for backup and public accessibility reasons. ---------------------------------------------------------------------- codeagency · 2023-12-12 09:40 Don't let the negatives get you down. Often it's typically people with no skills at all. Don't let them ruin your mindset. The point that you are capable to build something from nothing that solves a problem for at least yourself or few people is always positive. They are not smart enough to do it so they Bash on People who at least try something. Always keep that in mind and keep going. The fact that so many GUI exist, proofs there is a market for it. Not everyone likes CLI is not as good with terminal, and that is totally fine. Everybody does the work different. Most important is what makes somebody most comfortable to work with. I don't care myself, I use both CLI and GUI. GUI is just easier because it's visually much better. CLI is just Faster as there is no overhead but you need to memorize commands and that's what makes it faster over time. About your question. Yes many use git repo's to host docker compose and stack files. And many also self host their git. The most important ones are already mentioned above. Also the image registry is an important one. Many people store their docker images in GitHub, gitlab and others. I'm using Harbor myself for both docker and kubernetes. https://goharbor.io ---------------------------------------------------------------------- salslab · 2023-12-12 09:47 Thank you for the kinds words! :) Yes, it was discouraging and disappointing at first when I saw those comments but later I told myself, even if no one uses this project, I still have gained development skills which I can use to develop other projects. ---------------------------------------------------------------------- TheFumingatzor · 2023-12-12 09:59 Gitea for me. ---------------------------------------------------------------------- codeagency · 2023-12-12 09:59 That's the spirit! Just keep going. As long as you enjoy what your Building and it helps yourself, it's always useful. I will test your project once you have it a bit more feature packed. I'm used with portainer and env variables etc... In it's current state, it wouldn't be enough to try it for my use cases. So I will definitely check back once you are a few versions later. I already starred your Repo and enabled the activity following 👍 ---------------------------------------------------------------------- Bright_Mobile_7400 · 2023-12-12 10:13 It’s fairly rare to see posts like this 👍 ---------------------------------------------------------------------- AlteRedditor · 2023-12-12 10:28 I love GUIs, I can get that certain people will always prefer CLI but a good GUI is something I can get behind. Don't let this deter yourself from task, you're doing a great service to the community and like-minded people. ---------------------------------------------------------------------- salslab · 2023-12-12 10:30 Thank you for the encouraging words! :) ---------------------------------------------------------------------- adamshand · 2023-12-12 10:36 Looks great, thanks! Would be interested in Swarm support! ---------------------------------------------------------------------- salslab · 2023-12-12 10:38 Sure, I will add a few more basic features like variables/environments, webhooks, etc. and then will go for Docker Swarm support. ---------------------------------------------------------------------- Cetically · 2023-12-12 10:56 Personally I do self host Gitea. Being closed-source is a deal breaker for me, but good luck with it, looks nice. ---------------------------------------------------------------------- salslab · 2023-12-12 11:14 Ok sure, will let you know once I open source it. ---------------------------------------------------------------------- salslab · 2023-12-12 11:15 Sure thanks for the feedback. I will update once I make it open source. ---------------------------------------------------------------------- mehmetalianil · 2023-12-12 11:16 It was gitolite but now it is gitlab. ---------------------------------------------------------------------- maretoni · 2023-12-12 11:24 love it! prefer it over portainer bc of simplicity! please keep building 🙌😁 ---------------------------------------------------------------------- salslab · 2023-12-12 11:29 Thank you! Will do! :) ---------------------------------------------------------------------- bobowhat · 2023-12-12 11:45 I took a look at your list, and while it's comprehensive, it's lacking. Biggest one I found was environmentals. Using portainer CE latest, there are no .env options. This doesn't work will for stuff like snibox. To date, I've been using [technorabilia's](https://raw.githubuserconte nt.com/technorabilia/portainer- templates/main/lsio/templates/templates-2.0.json), which works, but doesn't get updated nearly as often. ---------------------------------------------------------------------- Jonteponte71 · 2023-12-12 11:52 I have been looking to selfhost git and ci/cd in one package. Onedev looks really nice. ---------------------------------------------------------------------- pydry · 2023-12-12 11:54 No. I use keybase's end to end encrypted git. ---------------------------------------------------------------------- MalcolmY · 2023-12-12 12:06 I hate gatekeeping Tools, their opinion is always the shite one. Anyway, yes for more graphical interfaces. Why would I choose to hunch my poor sick back when I can rest it and control everything with a mouse?! ---------------------------------------------------------------------- MalcolmY · 2023-12-12 12:13 Your project needs to filter images/volumes/networks by used/unused and let me choose what to delete. My use case for example is that I have a few containers that I don't run all the time, I don't want to loose their images/volumes/networks with prune. ---------------------------------------------------------------------- salslab · 2023-12-12 12:15 Noted and added to backlog. Will implement soon. ---------------------------------------------------------------------- deano_southafrican · 2023-12-12 12:16 I've never really needed to self-host my own repo as self-hosting for me is about leveraging free resouces online to create my own eco- system and workflows. Others that do it from the perspective of having total control of their data would be more likely to self-host git repos. ​ That being said I would love to see your project and maybe I'll try it in the future. I think you should build what you want to build, fuck everyone elses opinions. If you have a good features and build a quality toool then people will absolutely use it. Build it first, adapt it later. ---------------------------------------------------------------------- usrdef · 2023-12-12 12:20 Gitea is awesome. Tried many projects, and Gitea just sticks out. ---------------------------------------------------------------------- LaLiLuLeLo_0 · 2023-12-12 12:24 I have a GitLab instance, I use it for, among other things, hosting my NixOS configuration. ---------------------------------------------------------------------- z3roTO60 · 2023-12-12 12:32 Agreed. Low system resource utilization and has (almost) all of the features. My personal use case is 1. Repos that don’t want public facing (eg Home Assistant config) 2. Repos that I’m still testing (Docker images I’m working on) ---------------------------------------------------------------------- xupetas · 2023-12-12 13:15 Yep. Gitea ---------------------------------------------------------------------- Whyd0Iboth3r · 2023-12-12 13:37 Will you make it easier to install them? I use Docker, but just barely. I just can't seem to wrap my head around it. And it's not exciting, so it's very hard to dive in deep to learn. No one in my life or work knows Docker, so I can't gain wisdom from someone close. Portainer UI is very cramped and non-intuitive. It's a lot easier on Unraid UI. Using Unraid just to use Docker is dumb, so I can't go that route. ---------------------------------------------------------------------- random74639 · 2023-12-12 13:44 Gitea. Managed in portainer. If I may suggest, the single most painful work I so is backup the entire container orchestration (some are from hub, some are custom, with custom images and dockerfiles, some have some static data on the network they need to run) and their backup (turn them off, backup all volumes into a tar and throw in on the network). If your tool can automate these tasks, it’ll be more appealing (to me, at least), than a damn portainer. ---------------------------------------------------------------------- salslab · 2023-12-12 13:49 >Will you make it easier to install *them* Hey, I did not get what you are referring to here by *them*? You mean make it easier to install Docker and Dokemon? Its a couple of commands on the [dokemon.dev](https://dokemon.dev) to install it. I will document and make videos too in a couple of weeks and make it as easy as possible to understand and learn Docker through Dokemon. ---------------------------------------------------------------------- hexathos · 2023-12-12 13:55 i use selfhosted gitea with selfhosted drone :) and i would selfhost sentry if it had lower requirements ---------------------------------------------------------------------- salslab · 2023-12-12 13:57 Hey, I understood the part where you want to backup Docker volumes as tar files. I did not understand what you mean by backup container orchestration. ---------------------------------------------------------------------- IamNotIntelligent69 · 2023-12-12 14:12 I primarily use GitHub for hosting my open source projects, but I also self-host [Gitea](https://gitea.com/), mirroring my repositories in GitHub to act as a “backup”. I also don't store highly-confidential projects in GitHub (such as automation tools for my home network with API keys, sensitive config files, and other stuff), and use Gitea for that purpose. ---------------------------------------------------------------------- mkfs_xfs · 2023-12-12 14:23 Don't you just need to implement support for http/ssh/oauth authentication and git takes care of the rest? ---------------------------------------------------------------------- Blaze9 · 2023-12-12 14:35 Jesus I should switch. my Gitlab instantance takes up so much resources. I have a large server that has plenty but it should be so much better optimized. Also the actual image is rather large too, nearly 1.5gb. Gitea is literally 5% of the size. ---------------------------------------------------------------------- Whyd0Iboth3r · 2023-12-12 14:54 Easier to install the containers. The Dokemon looks simple enough. Containers get more difficult when you have to map port, and storage locations. ---------------------------------------------------------------------- lestrenched · 2023-12-12 14:58 Absolutely. Some repositories that have custom builds/code that I'd like to pull from my private server and which I back up to S3-complaint storage (encrypted, of course) instead of mirroring them to a privately-owned git server (Github, Gitlab, Codeberg) etc. ---------------------------------------------------------------------- CorpsKernel · 2023-12-12 15:02 +1 for Gitea. Couldn't be happier. Turnkey even has an image for it if you want extra easy set-up. I'm using an LXC container and it takes up absolutely no resources. https://www.turnkeylinux.org/gitea ---------------------------------------------------------------------- salslab · 2023-12-12 15:03 Oh ok.. got it.. will surely try to make it easier for beginners. Will post once I implement such features. ---------------------------------------------------------------------- qwertyvonkb · 2023-12-12 15:22 Gitea for everything but am syncing public repos with github. ---------------------------------------------------------------------- codysnider · 2023-12-12 15:24 Gitea all day. It has never let me down, 10/10. ---------------------------------------------------------------------- PovilasID · 2023-12-12 15:42 a) Many ways to skin a cat. Anybody who says, that there is only \*right\* way to do things is dumb or fascist... so do not worry. Now it does reduce the market size but.. if your project is for you learning... what has market size to to do with anything? b) UIs are good for learning. I can not memorize all the possibilities... from comand's man UI will give one glance overview then learning technology, so this is grate! c) Eliminating my job. I do not want a manager to call any time they need to shut off or on or restart some service. I will gladly stick a UI and manual in front of him and charge him overtime for disturbing my sweet time. Next time... well.. he will still call me.. but you know saying 3rd time is the charm. Point is not everyone interacting with containers can be a developer. d) Laptops are poor hammers. Sometimes you do not need IaC... sometimes you do not even need docker... I know! It would be a waste of time or resources. ---------------------------------------------------------------------- shahmeers · 2023-12-12 15:46 > Anyway, yes for more graphical interfaces. Why would I choose to hunch my poor sick back when I can rest it and control everything with a mouse?! Well some of us like to automate things... ---------------------------------------------------------------------- Windows_XP2 · 2023-12-12 15:59 I agree, I really don't get the hate for GUI's. The only real complaint against GUI's is that you may not know what they're actually doing under the hood, which can make it difficult to troubleshoot or adapt in the future. But I don't really think that's a good enough reason to avoid GUI's entirely. Like you I also use both GUI's and CLI's. As great as a CLI can be for its flexibility, it's hard to beat the convenience of a GUI, especially if I happen to be on my phone. Trying to use a CLI on my phone is kind of a nightmare. ---------------------------------------------------------------------- pcboxpasion · 2023-12-12 16:16 This is nice. Will test it out later. ---------------------------------------------------------------------- archgabriel33 · 2023-12-12 16:20 Does Gitea support webhook notifications on new commits like Github does? I need that for Portainer stacks, but I'd need to make Portainer available on the web which is a big no-no security-wise. ---------------------------------------------------------------------- Markd0ne · 2023-12-12 16:22 No, private Github repositories. ---------------------------------------------------------------------- MalcolmY · 2023-12-12 16:27 You can use CLI without opposing GUI every step of the way. Restarting a container is objectively easier and lighter of my back with Portainer than using a terminal. ---------------------------------------------------------------------- GreenHatGandalf · 2023-12-12 16:28 I know my way around a terminal but I don't use tools like docker often enough so I forget the commands to use but my memory when it comes to GUI is just better. I rather come back 6 months later to my homelab and loook at a GUI to restart containers or update then go to the terminal. I think a CI/CD thing would be a great feature and might get me to transition over from portainer in the future. Keep up the good work. ---------------------------------------------------------------------- shahmeers · 2023-12-12 16:28 Why is anyone regularly restarting containers? ---------------------------------------------------------------------- DesolateWolf · 2023-12-12 16:36 Ignore the puritans, GUI's are incredibly useful. I don't want to have to remember a million different commands for something I log into once every 3 months. ---------------------------------------------------------------------- geek_at · 2023-12-12 16:45 and the gitea actions are so amazing. I have reprogrammed so much of my workflow for gitea actions. Even simple ones that push to a FTP or SSH server when the commit message contains some string. Also I use the issue tracker for my clients so they can report issues. And what I love with gitea that doesn't work with github: I can have the same ssh deploy keys in multiple repos with gitea ---------------------------------------------------------------------- MalcolmY · 2023-12-12 16:45 There are numerous reasons to restart a container. Example: When you add an icon file to the icons directory you must restart the container for it to see the new file. ---------------------------------------------------------------------- shahmeers · 2023-12-12 16:47 That ... is not a good way to use containers, but I digress. ---------------------------------------------------------------------- Nixellion · 2023-12-12 17:00 It does, on many other events. And it has Gitea Actions, a Github Actions compatible CI/CD with runners and all ---------------------------------------------------------------------- Nixellion · 2023-12-12 17:02 Did you try OneDev? Learned about it a few days ago, seems to have very nice UI for CI/CD. But not sure if its more practical or not ---------------------------------------------------------------------- Nixellion · 2023-12-12 17:03 Yeah, Id like to test it too. But Gitea has CI/CD as well - Gitea Actions. Clone of githubs actions ---------------------------------------------------------------------- Nixellion · 2023-12-12 17:05 Forgejo is a fork if gitea, seems like it appeared due to people being worried about some gitea for profit backers or smth, I dunno ---------------------------------------------------------------------- Jonteponte71 · 2023-12-12 17:11 Yep, but I believe I read here that is not truly a open source project anymore. But it is still a good learning experience if it is similar to github actions. Which I haven’t looked into yet even though I am basically devops at work myself. ---------------------------------------------------------------------- Gabe_Isko · 2023-12-12 17:14 Do it brother. I initially wanted to try gitlab because it is the name brand, but even though they make their source available it really isn't for hobbyist consumption. They have made the complete pivot to being enterprise focused. ---------------------------------------------------------------------- Nixellion · 2023-12-12 17:14 If so then I guess this is why Forgejo appeared, its a fork of gitea that was triggered by the thing you are probably talking about. I am not aware of the details. ---------------------------------------------------------------------- Jonteponte71 · 2023-12-12 17:16 Yes. I belive that is the case. I just read about it myself. ---------------------------------------------------------------------- MalcolmY · 2023-12-12 17:30 Using a container is a horrible use of containers? Or restarting that container according to the documentation is horrible? You can't gatekeep forever. ---------------------------------------------------------------------- Lord_Pinhead · 2023-12-12 17:31 I wanted to say I use gogs, but gitea is a fork of it, but Forgejo is another, more modern fork, from gitea, because the community didn't like idea of a commercial support. I have to move my git repos 🤪 ---------------------------------------------------------------------- shahmeers · 2023-12-12 17:40 It sounds like you're mounting your source code (or at least an assets directory) and restarting your container after changing said code, instead of, you know, just building a new image. If its not clear why this is a bad idea then, idk ---------------------------------------------------------------------- Cintax · 2023-12-12 17:40 When I first started self hosting on an old server years back, I tried running a gitlab container and it was so resource intensive that it crashed on startup every time. Tried Gitea instead and it ran perfectly with extremely reasonable resource usage. Can't recommend it enough. ---------------------------------------------------------------------- Wojojojo90 · 2023-12-12 17:50 This is not true. It's still fully open source. What changed is that the code base is now owned by a for profit company, but that company has stated they're still keeping things open source. Here's the [blog post from gitea directly](https://blog.gitea.com/open-source- sustainment/) discussing the change. I've also found the comment stream involving u/Etzelia on [this reddit thread](https://www.reddit. com/r/selfhosted/comments/10uqkg3/gitea_forgejo_or_onedev/) helpful to understand where the misconception comes from ---------------------------------------------------------------------- random74639 · 2023-12-12 18:36 So I don’t just host nginx container. I have a portainer stack with nginx, letsencrypt and cron, 3 containers that together handle reverse proxy for my whole home infra and if I lose that entire server somehow, it’s going to be pain to restore even though I have backup of the data. Someone has to configure the portainer, the stacks in it, map the network accesses, etc. ---------------------------------------------------------------------- salslab · 2023-12-12 18:51 Oh ok got it, let me come up with something for making this easy. Will let you know once I have something implemented for this. ---------------------------------------------------------------------- MLHComputer · 2023-12-12 18:59 I was going to say isn't that what portainer is thats a cool idea though ---------------------------------------------------------------------- Enderlord0007 · 2023-12-12 19:04 On the note of GUIs, this one seems to have a very nice and clean one. I tried out Yacht and it was too clunky for my taste. I currently use portainer but it would be great if there was an open source alternative that was also nice in terms of looks. Looking forward to how this project grows. Good luck! ---------------------------------------------------------------------- salslab · 2023-12-12 19:07 Thank you! I will keep adding new features but will make sure the UI/UI stays simple for those who only need the basic features. ---------------------------------------------------------------------- cameos · 2023-12-12 19:09 Yes, I have all my personal git repos self-hosted. I don't use docker or 3rd-party webui software, just the plain git + ssh server. I don't really need webui 99.99% of time, but when I do I just use gitweb + lighttpd. ---------------------------------------------------------------------- NoNameJustASymbol · 2023-12-12 19:14 Professionally and personally I only use internal repos. ​ >...a few people bashed me... Screw them. ​ >...graphical tools promote bad practices... As a blanket statement that is wrong. Depends on the people using them just as much as the tool. ---------------------------------------------------------------------- cimulate · 2023-12-12 19:25 \+1 for Gitea ---------------------------------------------------------------------- ScavyDK · 2023-12-12 19:29 I just use the native Git remote repo function to selfhost my Git repos. It's built into Git. No need for the overhead of gitlab or similar tools. That is what makes Git great! ---------------------------------------------------------------------- adamshand · 2023-12-12 19:49 Love it, thanks for building something cool. ---------------------------------------------------------------------- arond3 · 2023-12-12 19:50 For low effort, i host gogs, allow to not care about bad practice to make quick and dirty tests. ---------------------------------------------------------------------- xoseperez · 2023-12-12 19:52 I also use Gitea to mirror my repos on GitHub, Gitlab or Bitbucket, kind of a local backup. Might not be necessary but it feels good to have a local copy. ---------------------------------------------------------------------- HTTP_404_NotFound · 2023-12-12 20:11 I do. gitea FTW. ---------------------------------------------------------------------- KevinCarbonara · 2023-12-12 20:27 I've considered it, and I just don't see the point. I use git. The local git repo is backed up to TrueNAS with snapshots. That covers every single use case I can think of in terms of preserving my data. If I want web features, I just put it on a public repo - this wouldn't be suitable for everything, of course, but I don't have a use case for avoiding a public repo. Since it's all backed up to my NAS, I'm not worried about github or gitlab failing. If they ever did, I'd look into using Gitea locally or something, but as of now, I just don't have a use case. ---------------------------------------------------------------------- Iliannnnnn · 2023-12-12 21:00 Is it open source so we can contribute to it? Would love to contribute to the website ---------------------------------------------------------------------- random74639 · 2023-12-12 21:11 Heh, bro if you need two .NET dudes looking for a hackathon challenge we can put something together 😂 ---------------------------------------------------------------------- hmoff · 2023-12-12 21:14 Bare git repository served over ssh. ---------------------------------------------------------------------- r0ckf3l3r · 2023-12-12 21:18 All I needed to know. I'm in the same boat of "Holy balls does GitLab consume a lot of resources on my server!". I installed it because I was familiar with GitLab's pipelines and actually liked it a lot, but if Gitea can do it, all I need to do now is figure out how to move all of my data into Gitea, and I'll be goldien. "Project for tomorrow evening" unlocked! ---------------------------------------------------------------------- Nixellion · 2023-12-12 21:32 I think Gitea has a migration guide somewhere, pretty sure I saw it in the docs ---------------------------------------------------------------------- mousui · 2023-12-12 21:46 How do you mirror your guthub repos to gitlab? ---------------------------------------------------------------------- ThePixelHunter · 2023-12-12 21:59 Yeah, after I saw what happened to youtube-dl and how quickly corporate Git hosters will respond to threats, I started hosting any code I care about. It has served me well. ---------------------------------------------------------------------- og_mrrubberducky · 2023-12-12 22:30 Would love something like this that also supports Podman but so far all those "fancy GUIs" as people say seem to only be docker-exclusive or barely working when ran under rootless Podman. My blabbering aside, good luck on your project! Just a good advice from other similar tools I've seen is that it's best to not try to overcomplicate the user interface, it gets harder to navigate and understand when there's a lot of options thrown at you. So far it looks nice :3 Though to answer the question from the title, I myself don't as I just use Github (that might change though) but I seen a lot of people in the wild self-host various types of git services and build servers for their projects and even communities (there's also that another git service that people seem to use called codeberg that i seen some privacy-oriented projects go to) ---------------------------------------------------------------------- Anarch33 · 2023-12-12 23:14 upload your git to gitlab, tell gitlab to do periodic fetches to github as a remote url ---------------------------------------------------------------------- mousui · 2023-12-12 23:14 Thank you, I will try this out tonight. ---------------------------------------------------------------------- accforrandymossmix · 2023-12-12 23:18 I do not self host git repos, but I probably could/should. Gitea has been on my list. As has been discussed, your project seems similar to Portainer, which has gone through big changes over the past couple of years. I think it's worth posting about here, because it seems like a useful, simpler alternative to Portainer for me (and maybe others as well). ---------------------------------------------------------------------- Haze1019 · 2023-12-12 23:59 I do, I self host GitLab in a Docker container. ---------------------------------------------------------------------- ismaelgokufox · 2023-12-13 00:13 RemindMe! 12 hours ---------------------------------------------------------------------- RemindMeBot · 2023-12-13 00:14 I will be messaging you in 12 hours on [**2023-12-13 12:13:03 UTC**](h ttp://www.wolframalpha.com/input/?i=2023-12- 13%2012:13:03%20UTC%20To%20Local%20Time) to remind you of [**this link **](https://www.reddit.com/r/selfhosted/comments/18gh5oy/do_you_selfho st_git_repos_too/kd4165g/?context=3) [**CLICK THIS LINK**](https://www.reddit.com/message/compose/?to=Remin dMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2F selfhosted%2Fcomments%2F18gh5oy%2Fdo_you_selfhost_git_repos_too%2Fkd41 65g%2F%5D%0A%0ARemindMe%21%202023-12-13%2012%3A13%3A03%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)] (https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete %20Comment&message=Delete%21%2018gh5oy) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remind mebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?t o=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside %20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Yo ur Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot& subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](ht tps://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot %20Feedback)| |-|-|-|-| ---------------------------------------------------------------------- Toreip · 2023-12-13 01:18 Git + ssh. And wireguard for access from outside. I expect access through ssh to work with almost any git hosted service, so less specific stuff. ---------------------------------------------------------------------- YankeeLimaVictor · 2023-12-13 01:56 I do gitlab. It's not the lightest of gits, but it works great for my team. We all love it. ---------------------------------------------------------------------- virtualadept · 2023-12-13 02:40 I have copies of my git repositories on Github, Gitlab, a forge that a colleague of mine runs, and a bare Git repo on my primary server at home. There's an alias in my \~/.gitconfig file that lets me push to all of them simultanously: [alias] pushall = !git remote | xargs -L1 -P0 git push --all --follow-tags Also, since I have my code deployed on all of my boxen, they also have full copies of every repo anyway. ---------------------------------------------------------------------- virtualadept · 2023-12-13 02:41 I started keeping private backups of those repos (yt-dlp, Dolphin, the Youtube advertiser database) as well. ---------------------------------------------------------------------- sarinkhan · 2023-12-13 03:17 I do run gitea rather than gitlab because I manage to deploy a gitea container but fail to do so with gitlab and have no clue of what I am doing wrong. As for your tool, it seems interesting, but I don't understand what is the differentiating factor compared to portainer? What is THE cool feature that can convince people to switch from the really mature and stable project? ---------------------------------------------------------------------- thetredev · 2023-12-13 03:31 to be fair GitLab is highly optimized - for hundreds/thousands of concurrent users that is ---------------------------------------------------------------------- thetredev · 2023-12-13 03:32 I use GitLab cause it allows me to learn more about hoe to utilize Kubernetes, for example as runners ---------------------------------------------------------------------- ncbrown1 · 2023-12-13 04:56 I’ve used gitea in the past but recently caught my eye on https://gitness.com. Has anyone had any good experience with this? My gut tells me to separate VCS from CI/CD in my self hosting setup but the concept seems pretty nice. ---------------------------------------------------------------------- HCharlesB · 2023-12-13 05:36 Gitea here for stuff I don't want to share with the world. My first file server didn't have the oomph to run Gitlab but Gitea ran great. I even run it on a Pi 4B in a Docker container. ---------------------------------------------------------------------- murdaBot · 2023-12-13 06:58 I do. I host Gitlab CE in my homelab, but mirror each important repo to GitHub. Fortunately, Gitlab makes this incredibly easy. ---------------------------------------------------------------------- murdaBot · 2023-12-13 07:01 And if you need to go the other way (Gitlab to Github), just go to Repo -> Settings -> Mirroring in Gitlab and set up your remote repo Github url, username, and token. It will perform an initial full sync and then on each commit after, issue a delta sync. Since you can have free unlimited private repos with Github now, it's a great way to keep a backup of your on-prem git solution. ---------------------------------------------------------------------- murdaBot · 2023-12-13 07:07 > there are no .env options You should move away from .env files, so not having support is IMO a good thing. They are a massive, massive security risk - even for local development because irresponsible devs accidentally submit them to repos all the time. ---------------------------------------------------------------------- murdaBot · 2023-12-13 07:11 > The only real complaint against GUI's is that you may not know what they're actually doing under the hood The thing about this stance (and this is not directed at you) is that not everyone needs to know what is going on under the hood. GUI tools are a GREAT way to empower other business units or non-technical teams within an org with visibility and/or the ability to take limited actions to solve a problem. They're designed for efficiency and speed in most situations. I run a global DevOps/SRE team and have been doing this a long, long time. Longer than the average Redditors has probably been alive, and GUI tools are an indispensable part of any competent product stack or engineer's toolbox. ---------------------------------------------------------------------- garthako · 2023-12-13 07:52 Sorry, but if anybody shall use your tool, you better have a public repository available. ---------------------------------------------------------------------- z3roTO60 · 2023-12-13 13:20 I have Gitea running on my basic Synology NAS in docker. The whole thing only has a CPU passmark of about 4000 with 12 GB of RAM. Gitea runs perfectly smoothly. I haven’t played around with the runner image that much. For that, I may move it to a separate machine / VM to run docker builds more quickly. ---------------------------------------------------------------------- salslab · 2023-12-13 15:59 Thank you!! 😀 ---------------------------------------------------------------------- middle_grounder · 2023-12-13 17:17 One of these already exists! /S All progress is driven by people who aren't satisfied with the status quo. Best of luck in your project. I look forward to seeing it. ---------------------------------------------------------------------- Prog47 · 2023-12-13 17:26 No i don't. I always use github. First thats where everyone is and second for what i need it for its free so no reason to do otherwise (especially since free people get private repos now) ---------------------------------------------------------------------- Sp33dFr34k85 · 2023-12-13 19:20 Looks very nice! Found Portainer to be very counter intuitive and decided to stick with the CLI. But I do see the benefit of having a GUI around, would love something simple and clean so this looks great. Love the idea of supporting Git, selfhosting Gitea here :) ---------------------------------------------------------------------- salslab · 2023-12-14 06:46 Hey when you say you want to contribute to the *website,* do you mean [https://dokemon.dev](https://dokemon.dev) ? I can open source it now if you want to. Its currently a single page written in Next.js. For the main application source code, I will open source it once I complete the core features. ---------------------------------------------------------------------- Iliannnnnn · 2023-12-14 06:49 Yes! ---------------------------------------------------------------------- salslab · 2023-12-14 06:55 Here you go. Made the repo public now - [https://github.com/productiveops/dokemon- site](https://github.com/productiveops/dokemon-site) Do join the Discord channel to discuss what you would like to contribute. ---------------------------------------------------------------------- Iliannnnnn · 2023-12-14 11:29 Thank you! I will see what I can do. ---------------------------------------------------------------------- mousui · 2023-12-15 19:10 This worked! Thank you so much, now if anyrhing happens to my gitea servir, I have a offsite back up ---------------------------------------------------------------------- salslab · 2023-12-17 07:39 Hey, I've open sourced it now! See [https://www.reddit.com/r/selfhoste d/comments/18kc20h/dokemon\_is\_open\_source\_now/](https://www.reddit .com/r/selfhosted/comments/18kc20h/dokemon_is_open_source_now/) ---------------------------------------------------------------------- salslab · 2023-12-17 07:39 Hey, I've open sourced it now! See https://www.reddit.com/r/selfhosted /comments/18kc20h/dokemon\_is\_open\_source\_now/ ---------------------------------------------------------------------- salslab · 2023-12-17 07:43 Here you go! I've open sourced it now! See https://www.reddit.com/r/se lfhosted/comments/18kc20h/dokemon\_is\_open\_source\_now/ ---------------------------------------------------------------------- Cybasura · 2023-12-17 12:43 Great, thanks for the update I'll give it a formal look soon then