aboutsummaryrefslogtreecommitdiff
path: root/config.example.scfg
blob: 3ba89594f3683497a1ab44cdff372ed1eb1dfebc (plain)
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
# for tcp biding
# listen-addr tcp://localhost:8080
listen-addr unix://var/run/cerrado.sock

root-readme /srv/git/README.md
syntax-highlight monokailight

# if passphrase is empty the whole authentication, private/public repository
# and login UI will be disabled, and only public repository will be displayed.
passphrase $2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq
aes-key 8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==

# order of the list of repository, values:
# unordered
# alphabetical-asc
# alphabetical-desc
# lastcommit-asc
# lastcommit-desc
order-by lastcommit-asc

# repository section is order dependent where the first repository has priority
# in case of conflict. Repository has also priority over scan. The order
# between scan and repository is irrelevant which means that all repository
# sections will be read first then all the scans.
repository /srv/git/cerrado.git {
    name cerrado
    description "Self host single person forge"
    public true
}

# scan is order dependent where first scan has priority in case of conflict. So
# if you add another scan section bellow that scan the same folders it will be
# ignored.
scan /srv/git/private {
    public false
}

scan /srv/git/ {
    public true
}

# TBD
#user admin:iKlvHe1g0UoXE
#
#list main {
#    server smtp.example.com
#    user admin@admin.com
#    password 1234567
#    security tls
#    authentication plain
#    default false
#}
#