]> prime8.dev >> repos - p8d.git/commitdiff
Update cgitrc
authorDamian Myrda <monkey.damianek@gmail.com>
Wed, 18 Sep 2024 01:02:43 +0000 (20:02 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Wed, 18 Sep 2024 01:06:26 +0000 (20:06 -0500)
compose.yml
git/cgitrc

index 4be0ce05d5e076cecead7d203a6a076807d29ead..54b8a42ee3242d2d158761f65608858e32265687 100644 (file)
@@ -67,6 +67,7 @@ services:
     environment:
       - CGIT_HOSTNAME=git.prime8.dev
       - CGIT_SUBPATH=/
+      - CGIT_REPODIR=/home/git/repos/
     ports:
       - "22"
     expose:
@@ -74,7 +75,7 @@ services:
     volumes:
       - ./git/cgitrc:/etc/cgitrc
       - /etc/ssh:/ssh/
-      - ./git/repos/:/home/git/repositories/
+      - ./git/repos/:/home/git/repos/
     networks:
       - common
     restart: always
index 8a7ac1e9ba4710c421fe03bc70773cdad7790627..1bb226aaceaf9fd6b872b25bfe03c1376f64ed6d 100644 (file)
@@ -83,7 +83,7 @@ about-filter=/usr/lib/cgit/filters/about-formatting.sh
 snapshots=tar.gz zip
 
 # Specify some default clone urls using macro expansion
-clone-url=ssh://CGIT_USER@CGIT_HOSTNAME:64822CGIT_REPODIR/$CGIT_REPO_URL CGIT_USER@CGIT_HOSTNAME:CGIT_REPODIR/$CGIT_REPO_URL
+clone-url=ssh://git@prime8.dev/home/git/repos/$CGIT_REPO_URL
 
 ##
 ## List of common mimetypes
@@ -138,4 +138,4 @@ section-sort=1
 max-repo-count=99999
 remove-suffix=1
 scan-hidden-path=1
-scan-path=CGIT_REPODIR
+scan-path=/home/git/repos/