blob: 8ca30655280dd3336587b410a81d6109b1e8274a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# My cgit docker container
## Usage
### Docker compose
Bind mount your git repos to `/repos` and a data folder to `/root/.local/share/caddy`.
The only environment variable is `SITE_ADDRESS`. If unset then localhost will be used (which you can't really use since the certs are inside the container).
services:
cgit:
build: ./cgit
ports:
- "443:443"
- "80:80"
volumes:
- ~/repos:/repos
- ./data:/root/.local/share/caddy
environment:
SITE_ADDRESS: git.soltermann.xyz
|