~dricottone/container-images

ref: 86834e13c4e225b499700ba57267b6d8caa418ac container-images/srht-git-core/README.md -rw-r--r-- 800 bytes
86834e13Dominic Ricottone MoinMoin 1.9 running in PyPy a day ago
                                                                                
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
# srht-git-core


## Build and Deploy

```
make image
```


### Tags

 + `latest`

----

## Use

Deploy the web server for a sr.ht system's git service.

Used by proxying from `nginx(8)`.
The below location should be added to the server configuration for
`git.example.com`.

```
location / {
    proxy_pass http://localhost:5001;
}

location = /authorize {
    proxy_pass http://localhost:5001;
}
```

The container needs to be reachable from `nginx(8)` on port 5001.
Consider either using a pod or creating a bridge network.
It also needs to have the git repositories mounted to `/var/lib/git`.

```
$conman run --detach --name srht-git-core --restart always \
    --mount type=bind,src=/host/path/to/git/repos,dst=/var/lib/git,z \
    registry.intra.dominic-ricottone.com/srht-git-core:latest
```