From dcc32e1117f9a4dfdcc6eac9310e6ad7cc863a8c Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Fri, 20 Sep 2024 20:37:14 -0500 Subject: [PATCH] Added theme --- compose.yml | 2 +- git/.gitignore | 1 - git/{gitolite.rc => .gitolite.rc} | 0 git/gitweb.conf | 4 ++++ git/theme | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) rename git/{gitolite.rc => .gitolite.rc} (100%) create mode 160000 git/theme diff --git a/compose.yml b/compose.yml index bce0654..fd46f70 100644 --- a/compose.yml +++ b/compose.yml @@ -66,7 +66,6 @@ services: image: jgiannuzzi/gitolite env_file: ./git/env volumes: - - ./git/gitolite.rc:/etc/gitolite/gitolite.rc:ro - ./git/.ssh/keys/:/etc/ssh/keys/ - ./git/:/var/lib/git/ ports: @@ -79,6 +78,7 @@ services: - gitolite volumes: - ./git/gitweb.conf:/etc/gitweb.conf:ro + - ./git/theme/:/usr/share/gitweb/theme/:ro - ./git/:/srv/git/:ro expose: - "80" diff --git a/git/.gitignore b/git/.gitignore index c1f4c76..fac4ba1 100644 --- a/git/.gitignore +++ b/git/.gitignore @@ -1,4 +1,3 @@ -/.gitolite.rc /.gitolite/ /.ssh/ /repositories/ diff --git a/git/gitolite.rc b/git/.gitolite.rc similarity index 100% rename from git/gitolite.rc rename to git/.gitolite.rc diff --git a/git/gitweb.conf b/git/gitweb.conf index 2e09b9d..122cd77 100644 --- a/git/gitweb.conf +++ b/git/gitweb.conf @@ -4,3 +4,7 @@ our $project_root = "/srv/git/repositories/"; our $projects_list = "/srv/git/projects.list"; $feature{"highlight"}{"default"} = [1]; + +our $favicon = "theme/git-favicon.png"; +our $logo = "theme/git-logo.png"; +our @stylesheets = "theme/gitweb.css"; diff --git a/git/theme b/git/theme new file mode 160000 index 0000000..200eada --- /dev/null +++ b/git/theme @@ -0,0 +1 @@ +Subproject commit 200eada21e260160a5ff8e6acd01f22073fd1af6 -- 2.43.4