Skip to content

Instantly share code, notes, and snippets.

Created July 26, 2014 15:50
Show Gist options
  • Save anonymous/44d09d3889e46dbb831d to your computer and use it in GitHub Desktop.
Save anonymous/44d09d3889e46dbb831d to your computer and use it in GitHub Desktop.
production: &base
## GitLab settings
gitlab:
## Web server settings (note: host is the FQDN, do not include http://)
host: code.[snip]
port: 443
https: true
user: gitlab
email_from: git@[snip]
default_projects_limit: 100
default: false
# signin_enabled: false
default_projects_features:
issues: true
merge_requests: true
wiki: true
snippets: false
visibility_level: "private" # can be "private" | "internal" | "public"
issues_tracker:
# nothing set
gravatar:
enabled: false
ldap:
enabled: true
host: 'localhost'
port: 389
uid: 'uid'
method: 'plain'
bind_dn: 'cn=gitlab,dc=ldap,dc=[snip],dc=[snip]'
password: '[snip]'
allow_username_or_email_login: true
base: 'dc=users,dc=ldap,dc=[snip],dc=[snip]'
user_filter: ''
omniauth:
enabled: true
allow_single_sign_on: false
block_auto_created_users: true
providers:
# - { name: 'google_oauth2', app_id: 'YOUR APP ID',
# app_secret: 'YOUR APP SECRET',
# args: { access_type: 'offline', approval_prompt: '' } }
# - { name: 'twitter', app_id: 'YOUR APP ID',
# app_secret: 'YOUR APP SECRET'}
# - { name: 'github', app_id: 'YOUR APP ID',
# app_secret: 'YOUR APP SECRET',
# args: { scope: 'user:email' } }
satellites:
path: /var/lib/gitlab/satellites/
backup:
path: "tmp/backups"
gitlab_shell:
path: /usr/share/gitlab-shell/
repos_path: /srv/rpo/git/
hooks_path: /usr/share/gitlab-shell/hooks/
upload_pack: true
receive_pack: true
ssh_port: [snip]
git:
bin_path: /usr/bin/git
max_size: 20971520
timeout: 10
extra:
# nothing set
development:
<<: *base
test:
<<: *base
gravatar:
enabled: true
gitlab:
host: localhost
port: 80
issues_tracker:
redmine:
title: "Redmine"
project_url: "http://redmine/projects/:issues_tracker_id"
issues_url: "http://redmine/:project_id/:issues_tracker_id/:id"
new_issue_url: "http://redmine/projects/:issues_tracker_id/issues/new"
staging:
<<: *base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment