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