From a0d0805036134896a076c97cf5baa991ae2d5469 Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Tue, 17 Sep 2024 20:02:43 -0500 Subject: [PATCH] Update cgitrc --- compose.yml | 3 ++- git/cgitrc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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/ -- 2.43.4