gitlab_shell.yml.erb 1.45 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.
5 6 7 8
# Default: http://localhost:8080/
# You only have to change the default if you have configured Unicorn
# to listen on a custom port, or if you have configured Unicorn to
# only listen on a Unix domain socket.
ogom's avatar
ogom committed
9 10 11 12 13
gitlab_url: <%= @url %>

http_settings:
#  user: someone
#  password: somepass
ogom's avatar
ogom committed
14 15
#  ca_file: /etc/ssl/cert.pem
#  ca_path: /etc/pki/tls/certs
16
  self_signed_cert: <%= @self_signed_cert %>
ogom's avatar
ogom committed
17 18

# Repositories path
Marin Jankovski's avatar
Marin Jankovski committed
19 20 21
# Give the canonicalized absolute pathname,
# REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!
# Check twice that none of the components is a symlink, including "/home".
ogom's avatar
ogom committed
22 23 24 25 26 27 28 29 30 31 32 33
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
34 35 36 37 38 39 40 41 42 43 44 45

# 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