summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-14 16:16:51 -0500
committerDavid Li <li.davidm96@gmail.com>2015-12-14 16:16:51 -0500
commit3fd5212bafb5e04418c9e4119ad65ed6b889da0d (patch)
tree918087fc474235a9f39d2fce9937ef2e0f4ddd79
parentca62954ebe12296a982448ebb77e1cbacbc55d15 (diff)
Add personal cgit configHEADmaster
-rw-r--r--cgit/Dockerfile1
-rw-r--r--cgit/cgit-footer1
-rw-r--r--cgit/cgitrc43
3 files changed, 45 insertions, 0 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 9d43b9c..f04c585 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -6,5 +6,6 @@ RUN apk --update add cgit
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
COPY cgit.conf /etc/lighttpd/cgit.conf
COPY cgitrc /etc/cgitrc
+COPY cgit-footer /etc/cgit-footer
EXPOSE 80
ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]
diff --git a/cgit/cgit-footer b/cgit/cgit-footer
new file mode 100644
index 0000000..9806c77
--- /dev/null
+++ b/cgit/cgit-footer
@@ -0,0 +1 @@
+Copyright ⓒ 2015 David Li. Generated by cgit \ No newline at end of file
diff --git a/cgit/cgitrc b/cgit/cgitrc
index 7099b2b..d97f794 100644
--- a/cgit/cgitrc
+++ b/cgit/cgitrc
@@ -1,4 +1,47 @@
css=/cgit.css
logo=/cgit.png
+
+virtual-root=/
+
+enable-http-clone=1
+enable-index-owner=0
+enable-log-filecount=1
+enable-log-linecount=1
+
+root-title=David’s Git Repositories
+root-desc=F/OSS software @ Cornell
+
+footer=/etc/cgit-footer
+
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+readme=:README.md
+readme=:readme.md
+readme=:README.mkd
+readme=:readme.mkd
+readme=:README.rst
+readme=:readme.rst
+readme=:README.html
+readme=:readme.html
+readme=:README.htm
+readme=:readme.htm
+readme=:README.txt
+readme=:readme.txt
+readme=:README
+readme=:readme
+readme=:INSTALL.md
+readme=:install.md
+readme=:INSTALL.mkd
+readme=:install.mkd
+readme=:INSTALL.rst
+readme=:install.rst
+readme=:INSTALL.html
+readme=:install.html
+readme=:INSTALL.htm
+readme=:install.htm
+readme=:INSTALL.txt
+readme=:install.txt
+readme=:INSTALL
+readme=:install
+
scan-path=/git/
enable-git-config=1 \ No newline at end of file