-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathgitprep.conf.example
More file actions
136 lines (108 loc) · 4.35 KB
/
Copy pathgitprep.conf.example
File metadata and controls
136 lines (108 loc) · 4.35 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
;;; GitPrep configuration file
[basic]
;;; A secret passphrase to randomize several things.
;;; It is recommended to set it to your own choice.
;;; Prepend (separating with spaces) new secret to keep old ones valid.
;;; No space in a secret.
; secret=please change me !
;;; Site http URL
;;; Used to build an absolute URL, such as links in e-mails and pull
;;; request comments after a git push upon new branch creation.
;;; It can be set either to a listening URL or a reverse proxy URL linking to
;;; the root of the gitprep service. The userinfo, query and fragment parts are
;;; ignored.
;;; Not defining it disables notifications.
site_url=https://please.change.me
;;; SSH port (default: 22)
;;; This value is used by ssh git repository URL.
; ssh_port=55555
;;; SSH repository url base
;;; For exampke, If you set this value to /~/git, SSH repository url become
;;; ssh://kimoto@59.106.185.196/~/git/kimoto/gitprep.git
;;; ~ is expaned to user home directory automatically
; ssh_rep_url_base=/~/git
;;; Use scp-like pseudo-urls rather than true SSH urls when possible.
;;; This generally generates shorter urls as they have no scheme and can be
;;; relative to the git user home directory.
;;; As these pseudo-urls cannot specify an alternate port, this option is
;;; ignored if ssh_port option is defined.
;;; A leading /~ in ssh_rep_url option stands for the git user's
;;; home directory and is thus stripped off to the benefit of a relative path.
;;; Taking the example above, the resulting pseudo-url will be:
;;; kimoto@59.106.185.196:git/kimoto/gitprep.git
scp_url=1
;;; SSH user for git URLs (default: user running server)
; ssh_user=mygit
;;; Git command path
;;; By default, git command path is automatically detected
;;; from PATH enviroment variable or /usr/bin/git or /usr/local/bin/git
; git_bin=/usr/local/bin/git
;;; Tags limit (default:1000)
; tags_limit=1000
;;; authorized_keys file for public key authentication via ssh.
;;; default is "$ENV{HOME}/.ssh/authorized_keys"
; authorized_keys_file=/home/gitprep/.ssh/authorized_keys
;;; hide all repositories until user logs in (default: 0)
; hide_from_public=1
;;; show emails in the public user profile; default is don't show
show_emails=1
;;; log files
; mojo_log_file_path=/home/gitgui/gitprep/log/production.log
; access_log_file_path=/home/gitgui/gitprep/log/access.log
[templates]
;;; put here custom templates overriding the defaults provided by gitprep; requires full path
; custom_template_folder=/home/gitprep/gitprep/templates_custom
[admin]
;;; If you forget admin password,
;;; set this value to 1 and access /reset-password page.
;;; Forget to comment out after resetting password.
; reset_password=1
[hypnotoad]
;;; Listen URL (default: http://*:10020)
; listen=http://127.0.0.1:10020,\
; https://127.0.0.1:10443?cert=/path/to/servercert.crt&\
; key=/path/to/servercert.key&\
; ca=/path/to/ca-bundle.crt
listen=http://127.0.0.1:10020
[reverse_proxy]
;;; Reverse proxy support (default: 0)
; on=1
;;; Reverse proxy path depth (default: none)
;;; If proxy path is http://somehost.com/foo, you set path_depth to 1.
;;; If proxy path is http://somehost.com/foo/bar, you set path_depth to 2.
; path_depth=1
; path_depth=2
[mail]
;;; Notifications by e-mail.
;;; "From" address of e-mails sent. Should not accept incoming mails.
;;; Default is to disable notifications.
; from=no-reply@gitprep.org
;;; Dummy (i.e. no reply) visible recipient e-mail address.
;;; Default: "undisclosed-recipients:;".
; to=no-reply@gitprep.org
[sendmail]
;;; Sendmail program path (default: search in $PATH, /usr/sbin and /usr/lib).
; sendmail=/usr/local/bin/sendmail
[smtp]
;;; list of space-separated smtp server FQDNs.
; hosts=mail.gitprep.org
;;; listening port of the smtp server (default: 25).
; port=587
;;; Authentication user name.
; sasl_username=gitprep
;;; Authentication password.
; sasl_password=LetsOpenIt
;;; SSL kind.
;;; Set to 'ssl' for implicit SSL or 'starttls' for explicit TLS.
; ssl=starttls
;;;;; SSL parameters.
;;;;; See https://metacpan.org/pod/IO::Socket::SSL.
;;; Trusted CAs.
;;; Use SSL_ca_file if CAs are concatenaed in a single file, SSL_ca_path for
;;; as CA's directory.
; SSL_ca_file=/etc/pki/tls/certs/ca-bundle.crt
;;; Client certificate.
; SSL_cert_file=/etc/pki/tls/certs/gitprep.crt
;;; Client certificate key.
;;; Warning: access should be blocked for non-gitprep users.
; SSL_key_file=/etc/pki/tls/private/gitprep.key