What is the difference between cookbook-gitlab and omnibus-gitlab?

So, I'm trying to install gitlab in a subdirectory. Many articles on the Internet show that this is now possible.
I installed omnibus-gitlab, but it didn't seem to contain the files needed to run gitlab in a subdirectory like application.rb etc. I did a little research and found that it is not yet supported on the omnibus.
So why the differences? I really thought they were all different ways to get the same thing. My question is again: the difference between the cookbook, omnibus and the usual manual installation. Thank!

+4
source share
1 answer
  • Cookbook: Installation is done according to the recipes of the chef

  • : , , .

  • Omnibus: .RPM( ) .deb(Debian), .

: gitlab /home/git/..., /opt/gitlab/... . , GitLab . , sudo -u git -H bundle exec rake gitlab:setup, gitlab omnibus sudo gitlab-rake gitlab:setup.

, , GitLab, .

( , , ): omnibus non_root_url :

  • /opt/gitlab/embedded/service/gitlab-rails/conf/gitlab.yml
  • /opt/gitlab/embedded/service/gitlab-rails/conf/application.rb ( )
  • /opt/gitlab/embedded/service/gitlab-rails/conf/unicorn.rb
  • /opt/gitlab/embedded/service/gitlab-shell/config.yml

GitLab. : , gitlab doc, . . :

#gitlab is configured to run in subdirectory "/gitlab" :
curl -v http:127.0.0.1:3000/gitlab
    ----> Error 404
curl -v http://127.0.0.1:3000
    ----> <html><body>You are being <a href="http://127.0.0.1:3000/gitlab/users/sign_in">redirected</a>.</body></html>
+5

All Articles