From 4f12e4ca91d5042b2290ef763a012544e43e0583 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 30 Jan 2026 20:22:19 -0600 Subject: Initial commit --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 -- cgit v1.2.3