aboutsummaryrefslogtreecommitdiff
path: root/infra/containers
diff options
context:
space:
mode:
Diffstat (limited to 'infra/containers')
-rw-r--r--infra/containers/cgit/cgitrc2
-rw-r--r--infra/containers/cgit/cgitrc.local29
2 files changed, 1 insertions, 30 deletions
diff --git a/infra/containers/cgit/cgitrc b/infra/containers/cgit/cgitrc
index 9aaf8d5..0dacb99 100644
--- a/infra/containers/cgit/cgitrc
+++ b/infra/containers/cgit/cgitrc
@@ -16,7 +16,7 @@
root-title=Doan Luu Duc Tai's repositories
root-desc=Personal git repos
virtual-root=/
-clone-prefix=https://git.doan.luuduct.ai
+clone-prefix={{GIT_ORIGIN}}
css=/cgit.css
favicon=/favicon.ico
remove-suffix=1
diff --git a/infra/containers/cgit/cgitrc.local b/infra/containers/cgit/cgitrc.local
deleted file mode 100644
index 20b533a..0000000
--- a/infra/containers/cgit/cgitrc.local
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (C) 2026 Doan Luu Duc Tai <doan@luuduct.ai>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
-
-root-title=Doan Luu Duc Tai's repositories (local)
-root-desc=Restored local copy
-virtual-root=/git/
-clone-prefix=http://localhost:8080/git
-css=/git/cgit.css
-favicon=/git/favicon.ico
-remove-suffix=1
-defbranch=main
-cache-root=/var/cache/cgit
-cache-size=1000
-cache-scanrc-ttl=1
-readme=:web/THIRD-PARTY-LICENSES.html
-about-filter=lua:/etc/cgit-license.lua
-scan-path=/srv/git