Gitea: Code Hosting and Versioning on Docker
HTML-код
- Опубликовано: 6 июл 2024
- In this video we'll look at installing Gitea on Docker. In a previous livestream I showed how to install Gitlab on Docker and a few people have mentioned that Gitea is a great alternative.
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
Original Source:
docs.gitea.io/en-us/install-w...
DB Tech Version:
gist.github.com/dnburgess/2c4...
Additional Resources:
docs.gitea.io/en-us/install-w...
The DB Tech version is just a cleaned up version of the original version.
Join this channel to get access to perks:
/ @dbtechyt
The hardware in my current home server is:
- Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
- 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
- 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
- 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
All amzn.to links are affiliate links.
More Home Server Videos:
• Openmediavault 5 (OMV5...
/=========================================/
Remember to leave a like on this video and subscribe if you want to see more!
/=========================================/
Like what I do? Want to be generous and help support my channel? Here are some ways to support:
Patreon: dbte.ch/patreon
Ko-fi: dbte.ch/kofi
/=========================================/
Here's my Amazon Influencer Shop Link:
Amazon: dbte.ch/amazonshop
/=========================================/
Follow Me:
Twitter: dbte.ch/tw
Facebook: dbte.ch/fb
Subscribe: dbte.ch/ytsub Наука
I'm so happy & enjoy every time when you uploaded new video. Thanks for sharing.
Thank you for continuing to watch
Thanks a lot for your guidance here. Thanks to you I was able to set up correctly.
Hi David. Can you make a video on container called Filebrowser? there is filebrowser/filebrowser container, but the Yacht template suggests 80x86/filebrowser fork, and I can't manage neither of them to work properly.
Awesome vid as always, can you do a vid about installing pihole docker with unbound? I haven't been able to get to work properly
Any chance of making a video about how to install Gitpod on a home server? If at all possible =)
Nice. Would love to see you make a video on setting up an email server on a homelab setup.
I've talked about this about a hundred times. I will probably not do a mail server video.
Here are some reasons why:
"Why you should never host your own email" nilead.com/article/5-reasons-you-should-not-host-your-own-email
www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server.amp
"Why you shouldn’t try to host your own email - GeekWire" www.geekwire.com/2015/why-you-shouldnt-try-to-host-your-own-email/amp/
@@DBTechYT Oh. Thanks for the links.. I didn't know you had discussed this. My bad.
Gitea FTW 💪🏻
@DB Tech, thank you for the video, but @1:32 that the basic installation on docker doesn't have a database or anything kind of that, but Gitea Doc states clearly that in case of a basic installation Sqlite 3 would be Gitea database
I encourage you to look at the video description where there are resources including a docker-compose with a database container
I followed this video, but when I press the 'instal gitea' button I get the following error:
The database settings are invalid: dial tcp: lookup db on 127.0.0.11:53: no such host
127.0.0.11 isn't the right IP. If you're going to use the loopback address, it should be 127.0.0.1, not 127.0.0.11
@@DBTechYT Thank you for your reply. 127.0.0.1 Unfortunately doesn't work either. I now get the following error: The database settings are invalid: dial tcp 127.0.0.1:3306: connect: connection refused
If you're trying to connect to the database, you shouldn't be using the loopback IP. Usually people use the name of the app. If you're using this docker-compose, you should be using "db" (without the quotes) as the address for the database.
@@DBTechYT I have "db:3306" for the host field, but for some reason that points to 127.0.0.11, and gives me the error of the first comment in this thread. I use the exact same script you provided in the description of the video. The only thing I changed was the passwords.
I just found the solution. I had to update Gitea and MySQl and it works! Thank you for your help, I really appreciate it.
Great, GitLab was originally taking up 2 gigs of space :(
Glad to hear that this is a good alternative for you :)
migraet 2 forgejo