summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
blob: 1934029d5bbed373bcb68f53f47e3a700152b555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# # # # # # # # # # # # # # # # # #
# Gitlab application config file  #
# # # # # # # # # # # # # # # # # #

#
# 1. Common settings
# ==========================

# Web application specific settings
web:
  host: localhost
  port: 80
  https: false

# Email used for notification
# about new issues, comments
email:
  from: notify@localhost

# Application specific settings
# Like default project limit for user etc
app:
  default_projects_limit: 10
  # backup_path: "/vol/backups"   # default: Rails.root + backups/
  # backup_keep_time: 604800      # default: 0 (forever) (in seconds)
  # disable_gravatar: true        # default: false - Disable user avatars from Gravatar.com

#
# 2. Advanced settings:
# ==========================

# Git Hosting configuration
git_host:
  admin_uri: git@localhost:gitolite-admin
  base_path: /home/git/repositories/
  # host: localhost
  git_user: git
  upload_pack: true
  receive_pack: true
  # port: 22

# Git settings
# Use default values unless you understand it
git:
  path: /usr/bin/git
  # 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

# Omniauth configuration
omniauth:
  enabled: false
  providers:

# omniauth:
#   enabled: 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' }