summaryrefslogtreecommitdiff
path: root/stacks/cgit/compose.yml
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2025-12-17 19:53:38 -0500
committerRATDAD <lambda@disroot.org>2025-12-17 19:53:38 -0500
commita50e5d21b0430a734929bc17017cc8c394b25524 (patch)
tree8a61bac5b36ca8725f3fdf64d30073b081c7d643 /stacks/cgit/compose.yml
downloadrds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.gz
rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.bz2
rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.zip
Initial Commit
Diffstat (limited to 'stacks/cgit/compose.yml')
-rw-r--r--stacks/cgit/compose.yml23
1 files changed, 23 insertions, 0 deletions
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