Install GitEA on Synology with Docker to Version Control your Code with HTTP Git! | 4K TUTORIAL

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • GitEA is an incredibly light weight HTTP git server! This tutorial goes over how to self host GitEA on your Synology NAS using Docker! This allows you a clean, low powered solution to version control your code!
    Hire Me! www.spacerex.co/hire-me/
    Affiliate Links*:
    RaspberryPi 4: geni.us/p7AT2
    Cooling Case for the Pi (Better performance): geni.us/l61B
    Micro SD Card: geni.us/JPKjQmT
    *These are Amazon affiliate links, which means that if you purchase a product through one of them, I will receive a small commission (at no additional cost to you). Thank you for supporting my channel!
  • НаукаНаука

Комментарии • 48

  • @nilsaggu
    @nilsaggu 3 года назад +6

    Nice tutorial - clean/straight to the point and easy to follow! By the way, it's pronounced "gitty", as in git-tea (tea, the drink.) Apparently the developer wanted to convey ease of using Git through this app to sort of like having tea (or something like that, I forget the exact background.)

  • @dennisvanmierlo
    @dennisvanmierlo Год назад

    Many thanks for this is a great tutorial! GitEA works so much better than the Synology Git package. When trying the Git package, I found out that in DSM 7 regular users cannot SSH into the nas. This ment that all git users should have admin rights on the Synology nas just to be able to use SSH. Synology decided to implement SSH this way since DSM 7 and did not include an 'SSH' application that I can configure for a non-admin account. I cannot believe that Synology did not created this option. With GitEA, it all works fine and with no issues.

  • @gokudark2525
    @gokudark2525 3 года назад +3

    Wow, I remember doing Gitea without docker and it was a nightmare to say the least. Thanks a lot, great video, Subscribed!

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      Hey thanks and glad you liked the video!

  • @wuconda1712
    @wuconda1712 2 года назад

    I got all details how to set up gitea in my server from your tutorial.
    Thanks you.

  • @mariorosa6540
    @mariorosa6540 Год назад +2

    Can you make a updated tutorial using DSM 7.2 and GitLab?

  • @JordiGartzia
    @JordiGartzia 2 года назад

    Yeah! That's the way! thank you!!!

  • @andydom729
    @andydom729 3 года назад +2

    Great video, one question where is all the data stored on the NAS for backup purposes etc? I was expecting a Docker/GitEA folder but I can't see one?

  • @dominiauk
    @dominiauk 2 года назад +1

    Great tutorial. One Question how do I do a backup of the git repository when using this with Docker and GitEA? I can't see how I can backup the repository. Thanks

  • @kenneth_jensen
    @kenneth_jensen 3 месяца назад

    Great toturial. Though I would say, setting up folders and mounts is not hard and for developers looking for this, it will not be hard and could have been part of this toturial too...
    BTW if you need to use port 22, use macvlan and assign its own IP address ;-)

  • @narsil7350
    @narsil7350 Год назад

    Thanks for the video. Can you show how to start there ssh?

  • @liusha9875
    @liusha9875 2 года назад +1

    Thiis is a very nice tutorial. Thanks very much! I followed this and successfully set it up. One thing that is so perfect is that the "git" user in the container has UID 1000 and GUID 1000, and the files in the mapped volume will also be owned by this user. Is it possible to let gitea choose a different UID and GUID?

  • @fagnercorrea
    @fagnercorrea 2 года назад

    Great!

  • @MartinDurik
    @MartinDurik 2 года назад +1

    I tried this tutorial, it is very well done, however the secure connection (via putty) is not working, an error message appears: No supported authentication methods available (server sent: publickey)

  • @MrYuriyNT
    @MrYuriyNT 3 года назад

    I need full tutorial about install Gitea on Synology NAS with all data bases and so on.

  • @jonaz77
    @jonaz77 3 года назад

    Can you guide us how to configure gitea for backup? What if something happens and I can't backup my repos?

  • @filhodosapo7794
    @filhodosapo7794 3 года назад

    Rex, do you know the updated audio station lyrics link, please

  • @sammyjenkin
    @sammyjenkin 2 года назад +1

    Anyone know how/where to increase the 100mb limit size for LFS?

  • @hoibimsua4003
    @hoibimsua4003 2 года назад

    i've made reserved proxy to point to gitea but not working (http and https point to dsm_ip_address:gitea port). Could you explain more detail please.

  • @lifebarier
    @lifebarier 3 года назад

    Does this put my repo in some folder I can access? or do I need to setup volumes you skipped?
    wq! ? You don't need exclamation afaik

  • @marcogaiazzi8328
    @marcogaiazzi8328 Год назад

    Can i push/pull to gitea from outside the NAS network with this trick?

  • @MrYuriyNT
    @MrYuriyNT 3 года назад

    how set up SQL base for it - it say that it needed

  • @reality-bytes
    @reality-bytes 2 года назад

    This didn't work for me, I had to allow gitea to continue to use the internal docker ports 22 and 3000. If I didn't then I got a connection timeout error.
    Reinstalled and left them at the default settings and it worked. That's what I'd expect as our port settings are telling docker to map an external port to an internal one.

  • @StevenBloomfield
    @StevenBloomfield 3 года назад +1

    Thanks for the video! I would like to enable gitea https and followed the docs for editing app.ini to make it work with letsencrypt but its not working for me. I probably fat fingered something in the config, it's been a while since I had to use vi. Any plans to do a video on this? I'd love to see how you take a secure gitea container and make it work with reverse proxy.

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      Honestly I would use a reverse proxy instead to handle that HTTPS traffic through DSM

  • @MrYuriyNT
    @MrYuriyNT 3 года назад +2

    4:17 where I can find this tutorial

  • @JordanKidd14
    @JordanKidd14 3 года назад

    I was able to figure out to how mount a volume path outside of GitEA's Docker container, configure GitEA to use it by changing the permissions of the outside folder, and setting up a test repo using this tutorial. Cloning and web UI are all working. However I can't seem to figure out how to "git push" anything back up to the server. I keep getting the following: "dial tcp 127_0_0_1:3005: connect: connection refused". Any ideas?

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      hmmm the 127 subnet is the local link domain. This means its not actually trying to connect outside of the container

  • @hanggicui7974
    @hanggicui7974 2 года назад +1

    Why not read gitea, with "git" "tea" ?

  • @lifebarier
    @lifebarier 2 года назад

    Well, does not work. Tried to do volumes and there seems to bunch of permission problems...
    EDIT: Well, it seems error can be ignored in log... just open port in firewall....

  • @MacTaiwan
    @MacTaiwan 3 года назад

    Just wondering, is there a way to access Gitea remotely through Synology DDNS?

  • @lifebarier
    @lifebarier 3 года назад

    Question.
    So I have synology on diskstation:5000 after installing gitea it will be on diskstation:3333
    Is there a way to setup mu network so that gitea would have its own domain name besides putting raspberry pi on network with nginx and proxying?

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      Use the reverse proxy feature to do that

    • @lifebarier
      @lifebarier 3 года назад

      @@SpaceRexWill Will try. What is bit annoying that quick search shows reverse proxy being used/setup to access via internet. Not for local network names. But I guess it should work similarly.

  • @hebrandt
    @hebrandt 3 года назад

    I tried now on many things, but if I want to access the gitea side by a domain it does not work. I have a domain git.example.de, I use the reverse proxy to redirect port 80 and 443 to 3000. I tried multiple ways of configuring gitea, but I can only acces with the ip address and the port...

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      Do you have the domain currently pointing to your homes IP (probably using DDNS)? & port forwarding

    • @hebrandt
      @hebrandt 3 года назад

      @@SpaceRexWill I tried again this morning and now it‘s working. I don‘t know what I‘ve changed

  • @johnsmith7637
    @johnsmith7637 3 года назад

    When i mount another share folder to '/data' in docker. The docker won't run. the log says "2020/09/18 06:25:39 ...s/setting/setting.go:725:NewContext() [F] Failed to create '/data/git/.ssh': mkdir /data/git: permission denied
    "
    how to fix that?

    • @johnsmith7637
      @johnsmith7637 3 года назад

      i was migrating my old gitea docker running in ubuntu to synology. i'm using sqlite, so i want to move the whole data folder to synology.

    • @johnsmith7637
      @johnsmith7637 3 года назад

      this guy github.com/go-gitea/gitea/issues/6130 has the same problem with me. but i can't find how to fix it.

    • @SpaceRexWill
      @SpaceRexWill  3 года назад

      Have you given the docker user access to the volume?