From 836cdbbcb566a36c16b28305b50a502fa09f2c97 Mon Sep 17 00:00:00 2001 From: haturatu Date: Tue, 21 Apr 2026 05:21:33 +0900 Subject: first commit --- docker/cgitrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker/cgitrc (limited to 'docker/cgitrc') diff --git a/docker/cgitrc b/docker/cgitrc new file mode 100644 index 0000000..25c5f1e --- /dev/null +++ b/docker/cgitrc @@ -0,0 +1,25 @@ +css=/cgit.css +logo=/cgit.png +favicon=/cgit.png + +root-title=Git Repositories +root-desc=public repositories +root-readme= + +virtual-root=/ +scan-path=/var/lib/git/repos + +remove-suffix=1 +enable-http-clone=1 +enable-index-owner=0 +enable-commit-graph=1 +snapshots=tar.gz zip + +clone-url=https://git.example.com/$CGIT_REPO_URL + +cache-root=/var/cache/cgit +cache-size=5000 +cache-static-ttl=60 +cache-dynamic-ttl=30 +cache-repo-ttl=30 +cache-root-ttl=30 -- cgit v1.2.3