1# for tcp biding
2# listen-addr tcp://localhost:8080
3listen-addr unix://var/run/cerrado.sock
4
5root-readme /srv/git/README.md
6syntax-highlight monokailight
7
8# if passphrase is empty the whole authentication, private/public repository
9# and login UI will be disabled, and only public repository will be displayed.
10passphrase $2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq
11aes-key 8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==
12
13# order of the list of repository, values:
14# unordered
15# alphabetical-asc
16# alphabetical-desc
17# lastcommit-asc
18# lastcommit-desc
19# default: unordered
20order-by lastcommit-asc
21
22# removes ".git" suffix from the name of the repository.
23# default: false
24remove-suffix true
25
26# repository section is order dependent where the first repository has priority
27# in case of conflict. Repository has also priority over scan. The order
28# between scan and repository is irrelevant which means that all repository
29# sections will be read first then all the scans.
30repository /srv/git/cerrado.git {
31 name cerrado
32 description "Self host single person forge"
33 public true
34}
35
36# scan is order dependent where first scan has priority in case of conflict. So
37# if you add another scan section bellow that scan the same folders it will be
38# ignored.
39scan /srv/git/private {
40 public false
41}
42
43scan /srv/git/ {
44 public true
45}
46
47# TBD
48#user admin:iKlvHe1g0UoXE
49#
50#list main {
51# server smtp.example.com
52# user admin@admin.com
53# password 1234567
54# security tls
55# authentication plain
56# default false
57#}
58#