https://github.com/pascalgn/git-server-docker
Simple git server for testing purposes
https://github.com/pascalgn/git-server-docker
docker git git-server
Last synced: 5 months ago
JSON representation
Simple git server for testing purposes
- Host: GitHub
- URL: https://github.com/pascalgn/git-server-docker
- Owner: pascalgn
- License: mit
- Created: 2019-03-04T21:05:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T20:28:26.000Z (over 6 years ago)
- Last Synced: 2024-12-18T13:45:07.630Z (6 months ago)
- Topics: docker, git, git-server
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-server-docker
Simple git server for testing purposes.
Serves a single git repository via HTTP without any authentication.
## Usage
Docker:
```sh
docker run -p 3000:3000 pascalgn/git-server-docker
git clone http://localhost:3000/repository.git
```Kubernetes:
```sh
kubectl create -f https://raw.githubusercontent.com/pascalgn/git-server-docker/master/kubernetes.yaml
PORT=$(kubectl get service/git-server -o jsonpath={.spec.ports[0].nodePort})
git clone http://localhost:${PORT}/repository.git
```## Acknowledgements
This is just a wrapper around
[node-git-http-server](https://github.com/bahamas10/node-git-http-server)
which is based on
[git-http-backend](https://github.com/substack/git-http-backend).## License
MIT