Dockerized cgit with a responsive Material Design theme
  • CSS 84.8%
  • JavaScript 8.4%
  • Python 4.9%
  • Dockerfile 1.7%
  • HTML 0.2%
Find a file
2026-05-24 18:11:36 +03:00
cgit@829eb07113 Register cgit submodule gitlink 2026-04-21 01:57:59 +03:00
examples/git.igorek.dev Update image.png 2026-01-08 03:25:26 +09:00
filters Improve docker image structure 2026-01-07 02:56:17 +09:00
include Improve docker image structure 2026-01-07 02:56:17 +09:00
www Add copy to VCS links 2026-05-24 18:11:36 +03:00
.dockerignore Improve image structure 2026-01-07 04:09:27 +09:00
.gitignore Create .gitignore 2026-01-08 03:23:09 +09:00
.gitmodules Init commit 2026-01-06 06:14:14 +09:00
cgit.conf Improve docker image structure 2026-01-07 02:56:17 +09:00
cgitrc Improve docker image structure 2026-01-07 02:56:17 +09:00
Dockerfile Improve docker image structure 2026-01-07 02:56:17 +09:00
lighttpd.conf Improve image structure 2026-01-07 04:09:27 +09:00
README.md Update README.md 2026-01-08 00:58:53 +09:00

cgit material docker

Dockerized cgit with a responsive Material Design theme.

Quick Start

Run the container using the following command:

docker run -d -p 80:80 igorechek06/cgit-material

Configuration and Volumes

You can map local directories to the following paths inside the container to customize the instance.

/app/repos/

This is the recommended directory to store your git repositories.

/app/www/static/

Used for storing static assets such as images.

  • Note: When referencing these files in cgitrc, write the path relative to /app/www/.

/app/about/

Used to store specific Markdown files for repository descriptions.

  • Usage: Set repo.readme=/app/about/filename.md in your config.

/app/etc/cgitrc and /app/etc/

The main configuration file. It follows the standard cgitrc syntax.

/app/include/

Contains HTML fragments included in the pages.

  • head.html: Used by the head-include setting.
  • You can also place files here for the header or footer settings defined in cgitrc.

/app/filters/

Contains the original cgit filters and two custom filters required for the Material theme. You can add your own custom filter scripts to this directory.

/app/www/css/

Contains files for markdown syntax highlighting and color variables. (See www/css folder)

Examples

Configuration examples are located in the /examples directory. This includes the configuration used for git.igorek.dev.