cgit+caddy+gitolite on alpine in an oci runner
this is a fork of github.com:gregjbs/docker-gitolite-cgit, with substantial differences to upstream (patch)
it is built for git.estrogen.zone and is focused around it.
installation
- copy .env.example to .env
- replace the key with your ssh key
- run
podman compose up -d --build
- rerun the above command without
--build
- enjoy
setup
to clone the admin repo, run git clone ssh://git@127.0.0.1:12222/gitolite-admin
.
comparison to upstream
here's a partial comparison to upstream:
- we do not use apache, opting for caddy instead
- we have a compose.yml
- we use alpine's cgit & gitolite packages, instead of building them ourselves
- we have build targets for readme formatting and syntax highlighting
- we call it a containerfile because it's no longer a date between 2013 and 2019
- we do not mention docker in the repository name
however, we:
- try to keep a sensible cgitrc with minimal differences to upstream's
- only have minimal changes to the SSH coniguration
- do not modify the license to a more strict one, but rather only append to the authors section