From 3fd5212bafb5e04418c9e4119ad65ed6b889da0d Mon Sep 17 00:00:00 2001
From: David Li
Date: Mon, 14 Dec 2015 16:16:51 -0500
Subject: Add personal cgit config
---
cgit/Dockerfile | 1 +
cgit/cgit-footer | 1 +
cgit/cgitrc | 43 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+)
create mode 100644 cgit/cgit-footer
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
--
cgit v1.2.3