aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiederick de Vries <diederick@diederickdevries.net>2020-06-21 14:06:14 +0200
committerDiederick de Vries <diederick@diederickdevries.net>2020-06-21 14:06:14 +0200
commit71e5c894891f10a37b293b50b0d09b0bbcdd79d4 (patch)
treeba6b0060256dfc77b039ddde5b654d9e600bc6b4
parent9aacfd86ecf64b3483a485d9bf5debb994af32ee (diff)
downloadcgit-docker-71e5c894891f10a37b293b50b0d09b0bbcdd79d4.tar.gz
cgit-docker-71e5c894891f10a37b293b50b0d09b0bbcdd79d4.tar.bz2
cgit-docker-71e5c894891f10a37b293b50b0d09b0bbcdd79d4.zip
feat:add site about page in /conf direcory
-rw-r--r--Dockerfile1
-rw-r--r--cgitrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 39aa40b..d0ed604 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,6 +3,7 @@ MAINTAINER Diederick de Vries <diederick@diederickdevries.net>
3RUN pacman --noconfirm -Syu 3RUN pacman --noconfirm -Syu
4RUN pacman --noconfirm -S cgit lighttpd 4RUN pacman --noconfirm -S cgit lighttpd
5RUN pacman --noconfirm -S python-pygments 5RUN pacman --noconfirm -S python-pygments
6RUN mkdir /conf
6COPY cgitrc /etc/ 7COPY cgitrc /etc/
7COPY lighttpd.conf /etc/lighttpd/ 8COPY lighttpd.conf /etc/lighttpd/
8CMD /bin/lighttpd -f /etc/lighttpd/lighttpd.conf && tail -f /var/log/lighttpd/error.log 9CMD /bin/lighttpd -f /etc/lighttpd/lighttpd.conf && tail -f /var/log/lighttpd/error.log
diff --git a/cgitrc b/cgitrc
index a78d9a4..9a1d8dd 100644
--- a/cgitrc
+++ b/cgitrc
@@ -13,6 +13,7 @@ virtual-root=/
13 13
14root-title=code.diederickdevries.net 14root-title=code.diederickdevries.net
15root-desc= 15root-desc=
16root-readme=/conf/root-readme.md
16 17
17source-filter=/usr/lib/cgit/filters/syntax-highlighting.py 18source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
18about-filter=/usr/lib/cgit/filters/about-formatting.sh 19about-filter=/usr/lib/cgit/filters/about-formatting.sh