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
19order-by lastcommit-asc
20
21# repository section is order dependent where the first repository has priority
22# in case of conflict. Repository has also priority over scan. The order
23# between scan and repository is irrelevant which means that all repository
24# sections will be read first then all the scans.
25repository /srv/git/cerrado.git {
26 name cerrado
27 description "Self host single person forge"
28 public true
29}
30
31# scan is order dependent where first scan has priority in case of conflict. So
32# if you add another scan section bellow that scan the same folders it will be
33# ignored.
34scan /srv/git/private {
35 public false
36}
37
38scan /srv/git/ {
39 public true
40}
41
42# TBD
43#user admin:iKlvHe1g0UoXE
44#
45#list main {
46# server smtp.example.com
47# user admin@admin.com
48# password 1234567
49# security tls
50# authentication plain
51# default false
52#}
53#