{"id":21509895,"url":"https://github.com/bzf/docker-gitolite","last_synced_at":"2025-03-17T15:16:23.702Z","repository":{"id":69743590,"uuid":"50242983","full_name":"bzf/docker-gitolite","owner":"bzf","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-23T15:00:10.000Z","size":1,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T19:58:00.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/bzf.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-01-23T14:57:58.000Z","updated_at":"2016-01-23T14:58:15.000Z","dependencies_parsed_at":"2023-04-19T06:13:58.809Z","dependency_job_id":null,"html_url":"https://github.com/bzf/docker-gitolite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzf%2Fdocker-gitolite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzf%2Fdocker-gitolite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzf%2Fdocker-gitolite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzf%2Fdocker-gitolite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bzf","download_url":"https://codeload.github.com/bzf/docker-gitolite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056430,"owners_count":20390720,"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":[],"created_at":"2024-11-23T21:33:42.907Z","updated_at":"2025-03-17T15:16:23.678Z","avatar_url":"https://github.com/bzf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"omgbzf/gitolite\n===============\n\nA container for running a `gitolite` server inside Docker based off of\ndebian:8.\n\n## Running the container\n```sh\nPORT=2223\n\n# Setup the `admin` user in `gitolite`\ndocker run -d -e \"SSH_KEY=$(cat ~/.ssh/id_rsa.pub)\" -p 2223:22 -t omgbzf/gitolite\n\n# Later you can start it without the `SSH_KEY` env\ndocker run -d -p 2223:22 -t omgbzf/gitolite\n```\n\nThen you should be able to clone the `gitolite-admin` repository using:\n```sh\nREMOTE=$(docker-machine ip $(docker-machine active))\n\n# Using ssh protocol to define which port to use on the remote server\ngit clone ssh://git@$REMOTE:2223/gitolite-admin.git\n```\n\n## Running with a data container\n\nFor this container to be useful you need to create a data container for storing\nall of the repositories.\n\nTo create a data container you run:\n```sh\ndocker create -v /home/git --name gitolite-data omgbzf/gitolite /bin/true\n```\n\nWhen you want to start the container you tell it to use the data container you\njust created:\n```sh\ndocker run --volumes-from=gitolite-data -d -p 2223:22 -t omgbzf/gitolite\n```\n\nNow you should be able to do changes, restart the service and see that your\nchanges have been persisted.\n\n## TODO\n- [x] Add instructions for running the stuff (with data container)\n- [ ] Fix the `locale` warnings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzf%2Fdocker-gitolite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbzf%2Fdocker-gitolite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzf%2Fdocker-gitolite/lists"}