]> Untitled Git - gitweb.git/commitdiff
Only allow export of approved repos master 0.2.1
authorClifton Palmer <clifton.james.palmer@protonmail.com>
Sun, 20 Apr 2025 11:19:54 +0000 (06:19 -0500)
committerClifton Palmer <clifton.james.palmer@protonmail.com>
Sun, 20 Apr 2025 11:22:02 +0000 (06:22 -0500)
docker-compose-prod.yml
docker-compose.yml
gitweb.conf

index 5f8fe35f12db5b932b0d06ac2f5b87b9800703f4..a0d7636207a11facf9a7e889783e37c05f0f7898 100644 (file)
@@ -6,7 +6,7 @@ networks:
         driver: overlay
 services:
     web:
-        image: cjpalmer/gitweb:0.2.0
+        image: cjpalmer/gitweb:0.2.1
         volumes:
         - /srv/git:/srv/git:ro
         - ./gitweb.conf:/etc/gitweb.conf
@@ -14,7 +14,7 @@ services:
         - proxy
         - backend
     cgi:
-        image: cjpalmer/gitweb-cgi:0.2.0
+        image: cjpalmer/gitweb-cgi:0.2.1
         environment:
         - BASE_URL=https://git.purplebirdman.com/
         volumes:
index d3dee016067e5e79e9acae3ab13dcc0812f65335..cf4cc3232f6eb3ac6ebe7923c9c0feb30424ee9f 100644 (file)
@@ -5,7 +5,7 @@ version: '3'
 services:
     web:
         build: web
-        image: cjpalmer/gitweb:0.2.0
+        image: cjpalmer/gitweb:0.2.1
         volumes:
         - /srv/git:/srv/git:ro
         - ./gitweb.conf:/etc/gitweb.conf
@@ -13,7 +13,7 @@ services:
         - 80:80
     cgi:
         build: cgi
-        image: cjpalmer/gitweb-cgi:0.2.0
+        image: cjpalmer/gitweb-cgi:0.2.1
         environment:
         - BASE_URL=
         volumes:
index 29c463f39cc1290a072d8c69349d2e6928ee21c5..8a6b0eec7b0cc4776730da8f25ad299e16e34265 100644 (file)
@@ -13,6 +13,10 @@ $home_link = "/";
 # file with project list; by default, simply scan the projectroot dir.
 $projects_list = $projectroot;
 
+# https://git-scm.com/docs/gitweb
+# only allow export of approved repos
+our $export_ok = "git-daemon-export-ok";
+
 # stylesheet to use
 #@stylesheets = ("static/gitweb.css");