blob: 5d861f3078d8608173163f8982f7b2ab4e886d90 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# haxgit - Lightweight cgit Docker Container
A complete, ready-to-run cgit solution with website and SSH access, packaged in Docker.
## Features
- Full cgit web interface
- Integrated SSH server for git operations
- Persistent storage for repositories and configuration
- Pre-configured with sensible defaults
- Lightweight Alpine Linux base
## Quick Start
Pull the image:
```bash
docker pull savagedot/haxgit
```
Run the container with:
# haxgit - Lightweight cgit Docker Container
A complete, ready-to-run cgit solution with website and SSH access, packaged in Docker.
## Features
- Full cgit web interface
- Integrated SSH server for git operations
- Persistent storage for repositories and configuration
- Pre-configured with sensible defaults
- Lightweight Alpine Linux base
## Quick Start
Pull the image:
```bash
docker pull savagedot/haxgit
```
Run the container with:
```bash
docker run -d --rm \
--name hax_cgit \
-p 64801:80 -p 64822:22 \
-v $PWD/data/git:/home/git \
-v $PWD/data/repositories:/home/git/repositories \
-v $PWD/data/ssh:/etc/ssh \
-v $PWD/data/web:/var/www \
savagedot/haxgit
```
|