From: Damian Myrda Date: Wed, 18 Sep 2024 01:02:43 +0000 (-0500) Subject: Update cgitrc X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=a0d0805036134896a076c97cf5baa991ae2d5469;p=p8d.git Update cgitrc --- diff --git a/compose.yml b/compose.yml index 4be0ce0..54b8a42 100644 --- a/compose.yml +++ b/compose.yml @@ -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 diff --git a/git/cgitrc b/git/cgitrc index 8a7ac1e..1bb226a 100644 --- a/git/cgitrc +++ b/git/cgitrc @@ -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/