cerrado @ cb6060a60d71ce1be1591bb10f499916155160de

 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# full hostname address plus protocol. 
 9# This is going to be used to display full link (e.g.: clone link)
10hostname https://domain.tld
11
12# if passphrase is empty the whole authentication, private/public repository
13# and login UI will be disabled, and only public repository will be displayed.
14passphrase $2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq
15aes-key 8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==
16
17# order of the list of repository, values:
18# unordered
19# alphabetical-asc
20# alphabetical-desc
21# lastcommit-asc
22# lastcommit-desc
23# default: unordered
24order-by lastcommit-asc
25
26# removes ".git" suffix from the name of the repository.
27# default: false
28remove-suffix true
29
30# repository section is order dependent where the first repository has priority
31# in case of conflict. Repository has also priority over scan. The order
32# between scan and repository is irrelevant which means that all repository
33# sections will be read first then all the scans.
34repository /srv/git/cerrado.git {
35    name cerrado
36    description "Self host single person forge"
37    public true
38}
39
40# scan is order dependent where first scan has priority in case of conflict. So
41# if you add another scan section bellow that scan the same folders it will be
42# ignored.
43scan /srv/git/private {
44    public false
45}
46
47scan /srv/git/ {
48    public true
49}
50
51# TBD
52#user admin:iKlvHe1g0UoXE
53#
54#list main {
55#    server smtp.example.com
56#    user admin@admin.com
57#    password 1234567
58#    security tls
59#    authentication plain
60#    default false
61#}
62#