{"id":31702412,"url":"https://github.com/fraoustin/gitweb","last_synced_at":"2025-10-08T21:51:32.833Z","repository":{"id":13869910,"uuid":"75174274","full_name":"fraoustin/gitweb","owner":"fraoustin","description":"container docker for run a git server with ihm","archived":false,"fork":false,"pushed_at":"2022-11-17T18:20:34.000Z","size":340,"stargazers_count":14,"open_issues_count":3,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-20T19:53:38.768Z","etag":null,"topics":["active","docker-image"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fraoustin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-30T09:58:58.000Z","updated_at":"2023-07-27T16:09:53.000Z","dependencies_parsed_at":"2023-01-11T18:40:59.514Z","dependency_job_id":null,"html_url":"https://github.com/fraoustin/gitweb","commit_stats":null,"previous_names":[],"tags_count":9,"template":null,"template_full_name":null,"purl":"pkg:github/fraoustin/gitweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraoustin%2Fgitweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraoustin%2Fgitweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraoustin%2Fgitweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraoustin%2Fgitweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fraoustin","download_url":"https://codeload.github.com/fraoustin/gitweb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraoustin%2Fgitweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["active","docker-image"],"created_at":"2025-10-08T21:51:30.509Z","updated_at":"2025-10-08T21:51:32.825Z","avatar_url":"https://github.com/fraoustin.png","language":"CSS","readme":"# Docker Image for gitweb\n\ngenerate a nginx server with git server and gitweb for ihm on http://127.0.0.1/\n\nload when start image load file in\n\n- /usr/share/gitweb/docker-entrypoint.pre\n- /usr/share/gitweb/docker-entrypoint.post\n\n## Parameter\n\n- SET_CONTAINER_TIMEZONE (false or true) manage time of container\n- CONTAINER_TIMEZONE timezone of container\n- GITPROJECT\n- GITUSER (default gituser)\n- GITPASSWORD (default gitpassword)\n- IHM (default \"\")\n\n## Volume\n\n- /var/lib/git\n\n## Port\n\n- 80 for gitweb\n\n## Command\n\n- addrepos: add repository\n- addauth : add user for git\n- rmrepos : remove repository\n- rmauth : remove user\n\n## Usage direct\n\nrun image fraoustin/gitweb\n\n    docker run -d -e \"CONTAINER_TIMEZONE=Europe/Paris\" -e \"GITPROJECT=test\" -v \u003clocalpath\u003e:/var/lib/git --name test -p 80:80 fraoustin/gitweb\n\nuser default is gituser and password default is gitpassword\n\nyou use http://localhost/ for access gitweb\n\nyou can clone project\n\n    git clone http://gituser:gitpassword@localhost/test.git\n\nYou can change user and password by variable environment\n\n\n## Usage by Dockerfile\n\nSample of Dockerfile\n\n    FROM fraoustin/gitweb\n    COPY ./00_init.sh /usr/share/gitweb/docker-entrypoint.pre/00_init.sh\n    RUN chmod +x -R /usr/share/gitweb/docker-entrypoint.pre\n\nFile 00_init.sh\n\n    #!/bin/bash\n    REPOS='/var/lib/git/test.git'\n    if [ ! -d $REPOS ]; then\n        addrepos test\n        cd $REPOS\n        chmod -R g+ws .\n        chgrp -R nginx .\n    fi\n    addauth $GITUSER $GITPASSWORD\n\nbuild image mygit\n\n    docker build -t mygit .\n\nrun image mygit\n\n    docker run -d -e \"CONTAINER_TIMEZONE=Europe/Paris\" -e \"GITUSER=gituser\" -e \"GITPASSWORD=gitpassword\" -v \u003clocalpath\u003e:/var/lib/git --name test -p 80:80 mygit\n\n\n\n\n## IHM material design\n\nIf you want use a new design for ihm, you can use IHM variable\n\n- IHM = mdl\n\n    docker run -d -e \"CONTAINER_TIMEZONE=Europe/Paris\" -e \"IHM=mdl\" -e \"GITPROJECT=test\" -v \u003clocalpath\u003e:/var/lib/git --name test -p 80:80 fraoustin/gitweb\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraoustin%2Fgitweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraoustin%2Fgitweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraoustin%2Fgitweb/lists"}