Outils pour utilisateurs

Outils du site


gitlab

Table des matières

Installation

1. I installed the `gitlab` package through the omnibus package on `debian 7` (version`7.8.1-omnibus-1_amd64.deb`) ; 2. change the settings as describe in [Using a non-bundled web-server][1] 3. run the reconfigure command: `sudo gitlab-ctl reconfigure` (complete without error).

Config

Voir les configurations actives:

 sudo awk '!/^#/&&/.+/{print}' /etc/gitlab/gitlab.rb
 

Exemple (pas forcément à jour):

  external_url 'https://git.labx.fr'
  gitlab_rails['gitlab_email_from'] = 'git@labx.fr'
  gitlab_rails['gitlab_default_projects_limit'] = 100
  gitlab_rails['gitlab_default_projects_features_snippets'] = true
  web_server['external_users'] = ['www-data']
  nginx['enable'] = false
  nginx['redirect_http_to_https'] = true
  nginx['redirect_http_to_https_port'] = 443
  nginx['ssl_certificate'] = "/etc/gitlab/ssl/#{node['fqdn']}.crt"
  nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/#{node['fqdn']}.key"
  ci_nginx['enable'] = false

Nginx

I got no `nginx`' config for this gitlab except for what the package might have created with the following `/etc/gitlab/gitlab.rb` file:

  external_url 'http://git.mydomain.fr'
  web_server['external_users'] = ['www-data']
  nginx['enable'] = false
  ci_nginx['enable'] = false

Mise à jour

gitlab.txt · Dernière modification: 2015/03/02 10:16 par ed8