{"id":29822993,"url":"https://github.com/timescale/docker-git-server","last_synced_at":"2025-07-29T01:38:17.802Z","repository":{"id":158294564,"uuid":"633892366","full_name":"timescale/docker-git-server","owner":"timescale","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-03T19:44:01.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-16T07:57:33.098Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timescale.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,"zenodo":null}},"created_at":"2023-04-28T14:19:58.000Z","updated_at":"2024-11-02T13:22:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"62fd96dd-2029-432e-85d5-b6ffc195ebac","html_url":"https://github.com/timescale/docker-git-server","commit_stats":null,"previous_names":["timescale/docker-git-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timescale/docker-git-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocker-git-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocker-git-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocker-git-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocker-git-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timescale","download_url":"https://codeload.github.com/timescale/docker-git-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timescale%2Fdocker-git-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267616874,"owners_count":24116171,"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-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2025-07-29T01:38:13.719Z","updated_at":"2025-07-29T01:38:17.794Z","avatar_url":"https://github.com/timescale.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-git-server\n\nRuns a git server meant to be used in a [test container](https://www.testcontainers.org/).\n\nWhen the container starts, it will create a repository at `/home/git/repo`. If a volume is mounted to `/root/repoFiles`, then that will be used to\nseed the repository with an initial commit.\n\nTo set a public key for the repository to use, set the environment variable `SSH_PUBLIC_KEY` to the key value.\n\nBuild the container with a command like this:\n\n```\ndocker build . -t git-server\n```\n\nRun the container with a command like this:\n\n```\ndocker run -it --env SSH_PUBLIC_KEY=\"\u003cpublic ssh key\u003e\" -p\u003cport on host machine\u003e:22 -v \u003cabsolute path to repo files\u003e:/root/repoFiles  git-server\n```\n\nClone the repo from the host machine with a command like this:\n\n```\ngit clone ssh://git@localhost:\u003cport\u003e/~/repo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdocker-git-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimescale%2Fdocker-git-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimescale%2Fdocker-git-server/lists"}