summaryrefslogtreecommitdiff
path: root/docker/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'docker/cgitrc')
-rw-r--r--docker/cgitrc25
1 files changed, 25 insertions, 0 deletions
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