From 0f5dbcc3bdeb401f00c1cdcb7b0ef826003b5bd7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 26 Mar 2022 12:44:29 +0300 Subject: docker: add a frontend nginx image At first, I built a custom image at https://egort.name/. It had a rather long development history, and I just copied the files from there. --- docker/frontend/etc/cgit/common | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docker/frontend/etc/cgit/common (limited to 'docker/frontend/etc/cgit/common') diff --git a/docker/frontend/etc/cgit/common b/docker/frontend/etc/cgit/common new file mode 100644 index 0000000..4fdf2a5 --- /dev/null +++ b/docker/frontend/etc/cgit/common @@ -0,0 +1,36 @@ +css=/cgit/cgit.css +logo=/cgit/cgit.png +favicon=/cgit/favicon.ico + +mimetype.bmp=image/bmp +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + +enable-blame=1 +enable-commit-graph=1 +enable-follow-links=1 +enable-index-links=1 +enable-index-owner=0 +enable-subject-links=1 +max-blob-size=10000 +max-repo-count=100 +max-stats=year +remove-suffix=1 +snapshots=tar.gz tar.bz2 zip + +about-filter=/usr/lib/cgit/filters/about-formatting.sh +readme=:README.md +readme=:readme.md +readme=:README.txt +readme=:readme.txt +readme=:README +readme=:readme + +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + +scan-path=/mnt/cgitize -- cgit v1.2.3