forked from invokr/docker-cgit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcgit.conf
More file actions
49 lines (37 loc) · 1.01 KB
/
cgit.conf
File metadata and controls
49 lines (37 loc) · 1.01 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
# CGit config file (cgitrc)
# For all supported settings see https://linux.die.net/man/5/cgitrc
root-title=$CGIT_TITLE
root-desc=$CGIT_DESC
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
# Default Theme
css=/cgit.css
logo=/cgit.png
#
# Search for these files in the root of the default branch of repositories
# for coming up with the about page:
#
readme=:README.md
readme=:readme.md
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL
readme=:install
# Cache - seems to be causing issues.. not sure why.
#cache-root=/var/cache/cgit
#cache-size=2000
enable-index-links=1
enable-index-owner=0
enable-remote-branches=1
enable-log-filecount=1
enable-log-linecount=1
enable-git-config=1
snapshots=tar.xz zip
robots=noindex, nofollow
virtual-root=$CGIT_VROOT
clone-prefix=ssh://git@tower.lan:8022/git-server/repos
section-from-path=$CGIT_SECTION_FROM_STARTPATH
max-repo-count=$CGIT_MAX_REPO_COUNT
scan-path=/git-server/repos