Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Where to find "/etc/gitlab/gitlab.rb" path?

    GitLab
    3
    8
    1523
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • arshsahzad
      arshsahzad last edited by

      I have to configure GitLab sidekiq and puma for memory optimization in my cloudron server but I'm not able to find the path /etc/gitlab/gitlab.rb in the ubuntu 20.04. Where can I find the gitlab.rb file?

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @arshsahzad last edited by

        @arshsahzad the Cloudron package is using /app/data/gitlab.yml to configure GitLab. See https://docs.gitlab.com/omnibus/settings/gitlab.yml.html on how to map gitlab.rb key values to gitlab.yml ones.

        luckow 1 Reply Last reply Reply Quote 2
        • luckow
          luckow translator @nebulon last edited by

          @nebulon ah good hint. Please add this to https://docs.cloudron.io/apps/gitlab/

          Pronouns: he/him | Primary language: German

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @luckow last edited by

            @luckow good point. Done now.

            arshsahzad 1 Reply Last reply Reply Quote 0
            • arshsahzad
              arshsahzad @nebulon last edited by

              @nebulon, I recently switched from Gitea to GitLab and the GitLab instance have only 5 users but it is taking around 2.6GB RAM space in my cloudron server. I have to apply below these configurations in gitlab.yml because it will optimize and save around 500Mb RAM space:-

              #gitlab.rb configuration
              
              puma['worker_processes'] = 0
              sidekiq['max_concurrency'] = 10
              prometheus_monitoring['enable'] = false
              
              

              Translate for gitlab.yml

              puma:
                worker_processes: 0
              
              sidekiq:
                 max_concurrency: 10
              
              prometheus_monitoring
                enable: false
              
              

              6ec7c6a5-68d4-4b0b-b4a2-5728b6513bf2-image.png

              I put the sidekiq config in line 349 but don't know where to put puma and prometheus_monitoring?

              luckow 1 Reply Last reply Reply Quote 0
              • luckow
                luckow translator @arshsahzad last edited by

                @arshsahzad From my experience: if you have to deal with RAM, don't use gitlab. Currently, one of my Gitlab instances uses 4.5 GB RAM with 10 users and it's slow.

                Pronouns: he/him | Primary language: German

                nebulon arshsahzad 2 Replies Last reply Reply Quote 1
                • nebulon
                  nebulon Staff @luckow last edited by

                  I can second @luckow 's statement here, GitLab base functionality requires a lot of memory already and if you are concerned about memory, then it is not the right tool for git repo/project management.

                  1 Reply Last reply Reply Quote 2
                  • arshsahzad
                    arshsahzad @luckow last edited by arshsahzad

                    @luckow @nebulon Thanks for ur valuable response, I will consider about this...

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB