environment:
- CGIT_HOSTNAME=git.prime8.dev
- CGIT_SUBPATH=/
+ - CGIT_REPODIR=/home/git/repos/
ports:
- "22"
expose:
volumes:
- ./git/cgitrc:/etc/cgitrc
- /etc/ssh:/ssh/
- - ./git/repos/:/home/git/repositories/
+ - ./git/repos/:/home/git/repos/
networks:
- common
restart: always
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
max-repo-count=99999
remove-suffix=1
scan-hidden-path=1
-scan-path=CGIT_REPODIR
+scan-path=/home/git/repos/