aboutsummaryrefslogtreecommitdiff

githost

A docker-compose provisioned gitolite+cgit+nginx+fail2ban setup.

It makes it easy to spin up an instance with a nice web interface without the modern social-media features that ruins modern open source development.

Setup

Run

sh ./init.sh

This will generate a new keypair in the local directory, and add it to a .env file. Type a password for the new ssh-keypair.

It requires imagemagick to convert the png favicon to an ico.

Local development

When you've upped the containers you can clone the githost-admin repo with

git clone git@localhost:gitolite-admin.git --config core.sshCommand="ssh -i PATH_TO_PRIVATE_KEY -p 2222"