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
- 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:
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
- 80:80
cgi:
build: cgi
- image: cjpalmer/gitweb-cgi:0.2.0
+ image: cjpalmer/gitweb-cgi:0.2.1
environment:
- BASE_URL=
volumes:
# 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");