From a50e5d21b0430a734929bc17017cc8c394b25524 Mon Sep 17 00:00:00 2001 From: RATDAD Date: Wed, 17 Dec 2025 19:53:38 -0500 Subject: Initial Commit --- stacks/cgit/compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 stacks/cgit/compose.yml (limited to 'stacks/cgit/compose.yml') diff --git a/stacks/cgit/compose.yml b/stacks/cgit/compose.yml new file mode 100644 index 0000000..da4e144 --- /dev/null +++ b/stacks/cgit/compose.yml @@ -0,0 +1,23 @@ +name: ${_STACK} + +networks: + net: + name: ${_NET} + external: true + +services: + cgit: + container_name: ${_CONTAINER} + image: ratdad/cgit:latest + env_file: + - .cgit.env + - .env + networks: + - net + expose: + - 80 + volumes: + # TODO: Create env overrides in docker-cgit for css/config file locations as well as the git root. + - ${_CSS_FILE:-./config/cgit.css}:/srv/www/htdocs/cgit/cgit.css + - ${_CONFIG_FILE:-./config/cgitrc}:/etc/cgitrc + - ${_GIT_ROOT:-./srv/git/}:/srv/git # mount the directory you use for your git server -- cgit v1.2.3-70-g09d2