all repos — infra @ 654125951db93d9760569bcf5ef68cb479e87afe

infrastructure manifests and setup notes

apps/cgit/cgitrc.yaml (view raw)

 1apiVersion: v1
 2data:
 3  cgitrc: |
 4    virtual-root=/
 5
 6    ### FILTER
 7    about-filter=/usr/lib/cgit/filters/about-formatting.sh
 8    # source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
 9
10    ### IMAGES
11    css=/cgit.css
12    logo=/white.png
13    favicon=/favicon.png
14
15
16    ### SETTINGS
17    enable-http-clone=1
18    enable-index-links=0
19    enable-index-owner=0
20    clone-url=https://git.icyphox.sh/$CGIT_REPO_URL
21    snapshots=tar.gz
22
23    local-time=1
24    root-title=icy's git forge
25    root-desc=
26    root-readme=/usr/share/webapps/cgit/static/readme
27
28    ### MIME
29    mimetype.gif=image/gif
30    mimetype.html=text/html
31    mimetype.jpg=image/jpeg
32    mimetype.jpeg=image/jpeg
33    mimetype.pdf=application/pdf
34    mimetype.png=image/png
35    mimetype.svg=image/svg+xml
36
37    ### LOG SETTINGS
38    side-by-side-diffs=1
39    #enable-commit-graph=1
40    enable-log-filecount=1
41    enable-log-linecount=1
42
43    repository-sort=age
44
45    ### COMMON README PATTERNS
46    readme=:README.md
47    readme=:readme.md
48    readme=:README.rst
49    readme=:readme.rst
50    readme=:README.txt
51    readme=:readme.txt
52    readme=:README
53    readme=:readme
54
55
56    ### FEATURED REPOS
57    #section-sort=0
58    #include=/var/www/htdocs/cgit/repo-list
59
60    # scan path always goes at the end for some reason
61    scan-path=/home/git    
62kind: ConfigMap
63metadata:
64  name: cgit-config