2012-08-16 03:06:08 +02:00
|
|
|
# # # # # # # # # # # # # # # # # #
|
2012-07-02 20:51:48 +02:00
|
|
|
# Gitlab application config file #
|
|
|
|
# # # # # # # # # # # # # # # # # #
|
|
|
|
|
2012-07-02 20:59:48 +02:00
|
|
|
#
|
|
|
|
# 1. Common settings
|
|
|
|
# ==========================
|
|
|
|
|
2012-07-02 20:51:48 +02:00
|
|
|
# Web application specific settings
|
|
|
|
web:
|
|
|
|
host: localhost
|
|
|
|
port: 80
|
|
|
|
https: false
|
2011-11-25 21:18:36 +01:00
|
|
|
|
|
|
|
# Email used for notification
|
|
|
|
# about new issues, comments
|
|
|
|
email:
|
2012-07-02 20:51:48 +02:00
|
|
|
from: notify@localhost
|
2012-03-31 14:59:06 +02:00
|
|
|
|
2012-07-02 20:59:48 +02:00
|
|
|
# Application specific settings
|
|
|
|
# Like default project limit for user etc
|
2012-08-16 03:06:08 +02:00
|
|
|
app:
|
|
|
|
default_projects_limit: 10
|
2012-07-09 23:45:43 +02:00
|
|
|
# backup_path: "/vol/backups" # default: Rails.root + backups/
|
2012-07-10 16:12:19 +02:00
|
|
|
# backup_keep_time: 604800 # default: 0 (forever) (in seconds)
|
2012-08-16 03:06:08 +02:00
|
|
|
# disable_gravatar: true # default: false - Disable user avatars from Gravatar.com
|
2012-07-02 20:59:48 +02:00
|
|
|
|
2012-09-12 06:48:22 +02:00
|
|
|
|
2012-08-16 03:06:08 +02:00
|
|
|
#
|
2012-09-12 06:48:22 +02:00
|
|
|
# 2. Auth settings
|
|
|
|
# ==========================
|
|
|
|
ldap:
|
|
|
|
enabled: false
|
|
|
|
host: '_your_ldap_server'
|
|
|
|
base: '_the_base_where_you_search_for_users'
|
|
|
|
port: 636
|
|
|
|
uid: 'sAMAccountName'
|
|
|
|
method: 'ssl' # plain
|
|
|
|
bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
|
|
|
|
password: '_the_password_of_the_bind_user'
|
|
|
|
|
|
|
|
omniauth:
|
2012-09-12 08:23:16 +02:00
|
|
|
# Enable ability for users
|
|
|
|
# to login via twitter, google ..
|
2012-09-12 17:56:44 +02:00
|
|
|
enabled: false
|
2012-09-12 08:23:16 +02:00
|
|
|
|
|
|
|
# IMPORTANT!
|
|
|
|
# It allows user to login without having user account
|
|
|
|
allow_single_sign_on: false
|
|
|
|
block_auto_created_users: true
|
|
|
|
|
|
|
|
# Auth providers
|
2012-09-12 06:48:22 +02:00
|
|
|
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' }
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# 3. Advanced settings:
|
2012-07-02 20:59:48 +02:00
|
|
|
# ==========================
|
|
|
|
|
2012-06-09 01:24:33 +02:00
|
|
|
# Git Hosting configuration
|
2011-12-04 00:44:59 +01:00
|
|
|
git_host:
|
2011-12-04 00:08:08 +01:00
|
|
|
admin_uri: git@localhost:gitolite-admin
|
2011-11-25 21:18:36 +01:00
|
|
|
base_path: /home/git/repositories/
|
2012-08-29 01:03:04 +02:00
|
|
|
hooks_path: /home/git/.gitolite/hooks/
|
2012-08-29 01:08:39 +02:00
|
|
|
gitolite_admin_key: gitlab
|
2011-11-25 21:18:36 +01:00
|
|
|
git_user: git
|
2012-06-29 05:30:31 +02:00
|
|
|
upload_pack: true
|
|
|
|
receive_pack: true
|
2012-08-29 01:03:04 +02:00
|
|
|
# host: localhost
|
2012-11-06 23:47:33 +01:00
|
|
|
# config_file: gitolite.conf
|
2011-11-25 21:18:36 +01:00
|
|
|
# port: 22
|
|
|
|
|
|
|
|
# Git settings
|
|
|
|
# Use default values unless you understand it
|
|
|
|
git:
|
2012-06-29 05:30:31 +02:00
|
|
|
path: /usr/bin/git
|
2011-11-25 21:18:36 +01:00
|
|
|
# Max size of git object like commit, in bytes
|
|
|
|
# This value can be increased if you have a very large commits
|
|
|
|
git_max_size: 5242880 # 5.megabytes
|
|
|
|
# Git timeout to read commit, in seconds
|
|
|
|
git_timeout: 10
|