forked from gitlabhq/gitlab-shell
-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.yml.example
58 lines (49 loc) · 1.81 KB
/
config.yml.example
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
# GitLab user. git by default
user: git
# Url to gitlab instance. Used for api calls. Should end with a slash.
# 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.
gitlab_url: "http://millicore:8080/box/api/gls/"
## If enabled gitlab-shell would use http protocol for push callback
http_settings:
enabled: false
url: "http://testing.feedhenry.me"
# Gitlab millicore service key
servicekey: "SAMPLESERVICEKEY"
self_signed_cert: false
# Repositories path
# Give the canonicalized absolute pathname,
# REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!
# Check twice that none of the components is a symlink, including "/home".
repos_path: "/home/git/data/repositories"
# File used as authorized_keys for gitlab user
auth_file: "/home/git/.ssh/authorized_keys"
# Redis settings used for pushing commit notices to gitlab
redis:
bin: /home/git/gitlab-shell/bin/dummy-redis-cli
# host: 127.0.0.1
# port: 6379
# pass: redispass # Allows you to specify the password for Redis
database: 0
socket: /var/run/redis/redis.sock # Comment out this line if you want to use TCP
namespace: resque:gitlab
## If enabled gitlab-shell would use rabbitmq for push callback
rabbit:
enabled: true
hosts:
- rabbit-service
vhost: fhtasks
user: fhtasksuser
password: fhtaskspassword
queue: fh-tasks-gitlab-postreceive
# Log file.
# Default is gitlab-shell.log in the root directory.
# log_file: "/home/git/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