https://github.com/acerv/docker_cgit
Dockerfile to create a container with CGit
https://github.com/acerv/docker_cgit
cgit docker
Last synced: about 1 month ago
JSON representation
Dockerfile to create a container with CGit
- Host: GitHub
- URL: https://github.com/acerv/docker_cgit
- Owner: acerv
- License: gpl-3.0
- Created: 2016-10-23T14:01:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-24T14:37:01.000Z (about 9 years ago)
- Last Synced: 2024-12-29T16:37:13.673Z (about 1 year ago)
- Topics: cgit, docker
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install
[](https://travis-ci.org/acerv/docker_cgit)
Build the container:
docker build -t cgit .
docker run -d -p 80:80 cgit
Then connect to `http://localhost/cgit`.
# CGit configuration
CGit gets repositories from the `/srv/git` directory. Copy there your git repos.
In order to make them visible on browser, upload a new `/etc/cgitrc` file.