gitlab_shell.yml.erb 1.1 KB
Newer Older
ogom's avatar
ogom committed
1 2 3
# GitLab user. git by default
user: <%= @user %>

ogom's avatar
ogom committed
4
# Url to gitlab instance. Used for api calls. Should end with a slash.
ogom's avatar
ogom committed
5 6 7 8 9
gitlab_url: <%= @url %>

http_settings:
#  user: someone
#  password: somepass
ogom's avatar
ogom committed
10 11
#  ca_file: /etc/ssl/cert.pem
#  ca_path: /etc/pki/tls/certs
ogom's avatar
ogom committed
12 13 14
  self_signed_cert: false

# Repositories path
ogom's avatar
ogom committed
15
# REPOS_PATH MUST NOT BE A SYMLINK!!!
ogom's avatar
ogom committed
16 17 18 19 20 21 22 23 24 25 26 27
repos_path: "<%= @repos_path %>"

# File used as authorized_keys for gitlab user
auth_file: "<%= File.join(@home, ".ssh", "authorized_keys") %>"

# Redis settings used for pushing commit notices to gitlab
redis:
  bin: <%= @redis_path %>
  host: <%= @redis_host %>
  port: <%= @redis_port %>
  # socket: /tmp/redis.socket # Only define this if you want to use sockets
  namespace: <%= @namespace %>
ogom's avatar
ogom committed
28 29 30 31 32 33 34 35 36 37 38 39

# Log file.
# Default is gitlab-shell.log in the root directory.
# log_file: "<%= File.join(@home, "gitlab-shell", "gitlab-shell.log") %>"

# Log level. INFO by default
log_level: INFO

# Audit usernames.
# Set to true to see real usernames in the logs instead of key ids, which is easier to follow, but
# incurs an extra API call on every gitlab-shell command.
audit_usernames: false