mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): fix cgit css config
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
686c032290
commit
9424341b55
2 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,7 @@ services:
|
|||
environment:
|
||||
- AUR_CONFIG=/aurweb/conf/config
|
||||
- CGIT_CLONE_PREFIX=${AURWEB_PHP_PREFIX}
|
||||
- CGIT_CSS=/css/cgit.css
|
||||
entrypoint: /docker/cgit-entrypoint.sh
|
||||
command: /docker/scripts/run-cgit.sh 3000
|
||||
healthcheck:
|
||||
|
@ -131,6 +132,7 @@ services:
|
|||
environment:
|
||||
- AUR_CONFIG=/aurweb/conf/config
|
||||
- CGIT_CLONE_PREFIX=${AURWEB_FASTAPI_PREFIX}
|
||||
- CGIT_CSS=/static/css/cgit.css
|
||||
entrypoint: /docker/cgit-entrypoint.sh
|
||||
command: /docker/scripts/run-cgit.sh 3000
|
||||
healthcheck:
|
||||
|
|
|
@ -8,5 +8,6 @@ sed -ri "s|clone-prefix=.*|clone-prefix=${CGIT_CLONE_PREFIX}|" /etc/cgitrc
|
|||
sed -ri 's|header=.*|header=/aurweb/web/template/cgit/header.html|' /etc/cgitrc
|
||||
sed -ri 's|footer=.*|footer=/aurweb/web/template/cgit/footer.html|' /etc/cgitrc
|
||||
sed -ri 's|repo\.path=.*|repo.path=/aurweb/aur.git|' /etc/cgitrc
|
||||
sed -ri "s|^(css)=.*$|\1=${CGIT_CSS}|" /etc/cgitrc
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue