diff options
author | Malfurious <m@lfurio.us> | 2022-08-07 01:09:35 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-08-07 01:09:35 -0400 |
commit | 5f193b72eb666755151faf15b71c4ffc45090745 (patch) | |
tree | 4d7819d8c0e65768411ac8d49ca52e5bf20a8d2a /docker/cgitrc | |
parent | ea1b0343eac09b1946a71522230944486c74bb5f (diff) | |
download | srcnode-5f193b72eb666755151faf15b71c4ffc45090745.tar.gz srcnode-5f193b72eb666755151faf15b71c4ffc45090745.zip |
Add cgit docker image
Apache webserver (httpd) is setup minimally to host cgit on a website
(sub)domain root. cgitrc config file is based on that from my previous
installation, in my personal website.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docker/cgitrc')
-rw-r--r-- | docker/cgitrc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/cgitrc b/docker/cgitrc new file mode 100644 index 0000000..cfd8ba7 --- /dev/null +++ b/docker/cgitrc @@ -0,0 +1,23 @@ +# cgit config +# see cgitrc(5) for details + +css=/cgit.css +logo=/cgit.png +logo-link=/ + +root-title=index +root-desc=description + +clone-url=http://example.com/$CGIT_REPO_URL + +enable-blame=1 +enable-follow-links=1 +enable-index-links=1 +enable-index-owner=0 +enable-log-filecount=1 +enable-log-linecount=1 +remove-suffix=1 +snapshots=tar.gz + +section-from-path=1 +scan-path=/data/repositories/ |