blob: 53e925c3da41ac361713e996c003c34eb227d4c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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.
## 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"
```
|