diff options
Diffstat (limited to 'cgit')
-rw-r--r-- | cgit/Dockerfile | 6 | ||||
-rw-r--r-- | cgit/cgitrc | 4 | ||||
-rw-r--r-- | cgit/httpd.conf | 4 | ||||
-rw-r--r-- | cgit/logo.png | bin | 5923 -> 1459 bytes |
4 files changed, 7 insertions, 7 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile index 28891c7..904712f 100644 --- a/cgit/Dockerfile +++ b/cgit/Dockerfile @@ -1,16 +1,16 @@ # https://git.zx2c4.com/cgit/ FROM alpine -ARG NORMALMODE_VERSION +ARG SRCNODE_VERSION RUN apk --no-cache upgrade RUN apk --no-cache add apache2 cgit COPY httpd.conf /etc/apache2/ COPY cgitrc /etc/ -COPY logo.png /usr/share/normalmode/ +COPY logo.png /usr/share/srcnode/ -RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION</div>" >/footer +RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION</div>" >/footer EXPOSE 80 CMD ["/usr/sbin/httpd", "-DFOREGROUND"] diff --git a/cgit/cgitrc b/cgit/cgitrc index c5a09f3..f835eaa 100644 --- a/cgit/cgitrc +++ b/cgit/cgitrc @@ -6,8 +6,8 @@ logo=/logo.png logo-link=/ footer=/footer -root-title=NormalMode.org Repositories -root-desc=Public repositories hosted on normalmode.org +root-title=Srcnode +root-desc=Git repositories hosted on srcnode clone-url=https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL ssh://git@$HTTP_HOST/$CGIT_REPO_URL diff --git a/cgit/httpd.conf b/cgit/httpd.conf index 6ffe913..fb49add 100644 --- a/cgit/httpd.conf +++ b/cgit/httpd.conf @@ -22,7 +22,7 @@ LogLevel warn Require all denied </Directory> -<Directory "/usr/share/normalmode/"> +<Directory "/usr/share/srcnode/"> AllowOverride None Require all granted </Directory> @@ -33,7 +33,7 @@ LogLevel warn Require all granted </Directory> -Alias /logo.png "/usr/share/normalmode/logo.png" +Alias /logo.png "/usr/share/srcnode/logo.png" Alias /cgit.css "/usr/share/webapps/cgit/cgit.css" Alias /cgit.png "/usr/share/webapps/cgit/cgit.png" diff --git a/cgit/logo.png b/cgit/logo.png Binary files differindex 4746a72..2b28fed 100644 --- a/cgit/logo.png +++ b/cgit/logo.png |