{"id":17311262,"url":"https://github.com/rockstorm101/gitweb-docker","last_synced_at":"2025-04-14T14:14:34.945Z","repository":{"id":116363608,"uuid":"588186020","full_name":"rockstorm101/gitweb-docker","owner":"rockstorm101","description":"Visualize and serve git repositories over HTTP","archived":false,"fork":false,"pushed_at":"2025-01-16T21:09:37.000Z","size":35,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T14:14:24.799Z","etag":null,"topics":["docker","docker-image","git","gitweb","http","server"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rockstorm101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-12T14:29:08.000Z","updated_at":"2025-04-12T03:59:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0f15263-7fae-4de7-9040-0df3958d5bb8","html_url":"https://github.com/rockstorm101/gitweb-docker","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockstorm101%2Fgitweb-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockstorm101%2Fgitweb-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockstorm101%2Fgitweb-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockstorm101%2Fgitweb-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rockstorm101","download_url":"https://codeload.github.com/rockstorm101/gitweb-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894943,"owners_count":21179153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","git","gitweb","http","server"],"created_at":"2024-10-15T12:39:57.766Z","updated_at":"2025-04-14T14:14:34.901Z","avatar_url":"https://github.com/rockstorm101.png","language":"Dockerfile","readme":"# GitWeb Docker Image\n![Test Build Status][b1]\n[![Docker Image Size][b2]][bl]\n[![Docker Pulls][b3]][bl]\n\nLightweight Docker image containing an Nginx webserver to visualize\ngit repositories (through [GitWeb][1]) and provide *read-only* access\nto them over HTTP.\n\nImage source at: https://github.com/rockstorm101/gitweb-docker\n\n[1]: https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb\n\n\n## Basic Use Case\n\n```\ndocker run -v /path/to/repos:/srv/git:ro -p 80:80 rockstorm/gitweb\n```\n\nYour repositories should be visible at http://localhost.\n\nYou should be able to clone/fetch/pull your repositories like:\n\n```\ngit clone http://localhost/your-repo.git\n```\n\n\n## Customization\n\nThe provided `nginx.conf` and `gitweb.conf` files are the default\nconfigurations for the Nginx webserver and [GitWeb][1] (the\nrepository visualizer) respectively. To override them just mount your\ncustom files at:\n\n```yaml\nservices:\n  gitweb:\n    ...\n    volumes:\n      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro\n      - ./gitweb.conf:/etc/gitweb.conf:ro\n```\n\nBy default, a very basic configuration of Nginx is provided. For more\nadvanced configuration options please consult the official Nginx\n[documentation][2].\n\n[2]: https://www.nginx.com/resources/admin-guide\n\n\n### Apply a Theme\n\nTo apply a theme to GitWeb like Stefan's [gitweb-theme][3]:\n\n 1. Mount the theme files somewhere:\n\n    ```\n    services:\n      gitweb:\n      ...\n        volumes:\n          - /path/to/theme/folder:/usr/share/gitweb/theme:ro\n    ```\n\n 2. Add the relevant lines on your `gitweb.conf` file:\n \n    ```\n    our @stylesheets = \"theme/gitweb.css\";\n    our $logo = \"theme/git-logo.png\";\n    our $favicon = \"theme/git-favicon.png\";\n    ```\n \n[3]: https://github.com/kogakure/gitweb-theme\n\n\n## Tags and Variants\n\nThis image uses the stable, Alpine-based Nginx Docker image.\n\n - **'X.Y-bZ'**: Immutable tag. Points to a specific image build and will\n   not be reused.\n\n - **'X.Y'**: Stable tag for specific Git major and minor versions. It\n   follows the latest build for Git version X.Y and therefore changes\n   on every patch change (i.e. 1.2.3 to 1.2.4), on every change on\n   Nginx and every change on the base Alpine image.\n\n - **'latest'**: This tag follows the very latest build regardless any\n   major/minor versions.\n\n\n## License\n\nView [license information][4] for the software contained in this\nimage.\n\nAs with all Docker images, these likely also contain other software\nwhich may be under other licenses (such as git, etc from the base\ndistribution, along with any direct or indirect dependencies of the\nprimary software being contained).\n\nAs for any pre-built image usage, it is the image user's\nresponsibility to ensure that any use of this image complies with any\nrelevant licenses for all software contained within.\n\n[4]: https://github.com/rockstorm101/gitweb-docker/blob/master/LICENSE\n\n\n## Credits\n\nThis image is heavily inspired by Kostya's [gitweb-readonly][5] but\nsimpler and lighter.\n\nGitWeb configuration hints thanks to [Arch's Wiki][6].\n\n[5]: https://github.com/KostyaEsmukov/docker-gitweb-readonly\n[6]: https://wiki.archlinux.org/title/gitweb#Nginx\n\n\n[b1]: https://img.shields.io/github/actions/workflow/status/rockstorm101/gitweb-docker/test-build.yml?branch=master\n[b2]: https://img.shields.io/docker/image-size/rockstorm/gitweb/latest?logo=docker\n[b3]: https://img.shields.io/docker/pulls/rockstorm/gitweb\n[bl]: https://hub.docker.com/r/rockstorm/gitweb\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockstorm101%2Fgitweb-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockstorm101%2Fgitweb-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockstorm101%2Fgitweb-docker/lists"}