summaryrefslogtreecommitdiff
path: root/stacks/cgit/compose.yml
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2025-12-21 17:44:23 -0500
committerRATDAD <lambda@disroot.org>2025-12-21 17:44:23 -0500
commitaf887c36d36bbeae04cc1576587758fb18ee1ef2 (patch)
tree91327754cbe3f65523eb277ebe243e3c5199879b /stacks/cgit/compose.yml
parenta50e5d21b0430a734929bc17017cc8c394b25524 (diff)
downloadrds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.tar.gz
rds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.tar.bz2
rds-platform-af887c36d36bbeae04cc1576587758fb18ee1ef2.zip
Enforcing static volume names for each stack
Diffstat (limited to 'stacks/cgit/compose.yml')
-rw-r--r--stacks/cgit/compose.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/stacks/cgit/compose.yml b/stacks/cgit/compose.yml
index da4e144..e3c7ab1 100644
--- a/stacks/cgit/compose.yml
+++ b/stacks/cgit/compose.yml
@@ -17,7 +17,10 @@ services:
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
+ # TODO: Make these cgit-docker builtins.
+ - ${_CSS_FILE:-./opt/cgit.css}:/srv/www/htdocs/cgit/cgit.css
+ - ${_SITE_HEADER:-./opt/header.html}:/opt/header.html
+ - ${_SITE_FOOTER:-./opt/footer.html}:/opt/footer.html
+ - ${_ROOT_README:-./opt/README.txt}:/opt/README.txt
+ - ${_CONFIG_FILE:-./etc/cgitrc}:/etc/cgitrc
- ${_GIT_ROOT:-./srv/git/}:/srv/git # mount the directory you use for your git server