From 0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b Mon Sep 17 00:00:00 2001 From: Lambda Date: Wed, 10 Dec 2025 18:43:52 -0500 Subject: Added README and compose example. --- compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 compose.yml (limited to 'compose.yml') diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..aca365f --- /dev/null +++ b/compose.yml @@ -0,0 +1,17 @@ +# +# +# cgit-docker compose example + +name: 'cgit-docker' + +services: + cgit: + container_name: cgit-docker + image: ratdad/cgit-docker:latest + ports: + - 80:80 + volumes: + - ./etc/httpd/conf/httpd.conf:/etc/httpd/conf/httpd.conf # apply custom httpd config + - ./etc/cgitrc:/etc/cgitrc # apply custom cgit runtime config + - ./opt/highlight.sh:/opt/highlight.sh # use a custom highlight script + - ./srv/git/:/srv/git # mount the dir cgit reads for repositories -- cgit v1.2.3-70-g09d2