Skip to content

tianakack/alpine-cgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

alpine-cgit

A docker image based on alpine for Cgit-Lighttpd


Reference documents:


Example for docker run:

docker run -d -p 12345:80 -v /srv/repositories/:/srv/repositories/ alpine-cgit

The scan-path for cgit.cgi is:

scan-path=/srv/repositories/

You can clone a git project in the /srv/repositories/, such as:

tian@hello-tian:~$ mkdir -p /srv/repositories/
tian@hello-tian:~$ cd /srv/repositories/
tian@hello-tian:/srv/repositories/$ git clone --mirror git://busybox.net/busybox.git

The access URL in a web-browser is such as:

http://127.0.0.1:12345/git/

You can add a cgitrc file in git project dir in your /srv/repositories/, such as:

desc=BusyBox: The Swiss Army Knife of Embedded Linux
clone-url=git://busybox.net/busybox.git
owner=

About

A docker image based on alpine for Cgit-Lighttpd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published