diff options
| author | Christian <[email protected]> | 2026-01-30 20:22:19 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-01-30 20:22:19 -0600 |
| commit | 4f12e4ca91d5042b2290ef763a012544e43e0583 (patch) | |
| tree | 528c066afbb6c62bc951cd3831386406b37736bd /README.md | |
Initial commit
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..8ca3065 --- /dev/null +++ b/README.md @@ -0,0 +1,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 |
