dehub/cmd/dehub-remote
mediocregopher e91f7b060e make docker-remote not force a .git extension
---
type: change
message: |-
  make docker-remote not force a .git extension

  There wasn't really a good reason to do so, except convention maybe, but even
  then I'm not sure it was a real convention. This commit also fixes the docker
  image naming for docker-remote
change_hash: AAdGtR83SalP03yPlU0FDNkzlDzgWFXs08vJ26KtB8du
credentials:
- type: pgp_signature
  pub_key_id: 95C46FA6A41148AC
  body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl6BDAkACgkQlcRvpqQRSKwcsxAAtfvN8xNqWAXS48MVApoFPtK4GoUeoJsW+2KVWlaHYxwOtROaLoXBp+reNn9ESeetebQB8qPY44/xwmQuZ//CKt1iDvGqf470FW6bnm+LFNmpX5X49WUKs2KeTSXBeVYRtz8vZKPkQyfhlcUB2rHtVIWbqXPFXV4UtufqEnSu1LEgF+MORkNzOkoF35xRzp6pUlcmOc4Q1TUvK5+m3QXQpD9g3imA2fp49rmfVQ4E9OdtFAPxfhCWEdi2Zre8k9W2XFgCak/SX++9i1/7eyfC896RiCPD/cR/OvzXlCE8psuORAJ0MqcaJCYWz84KWVKH2sHqmkT0AYnrJRV+QXWWUS3ePZX/LzGBqgkxU8AuNiGXiDl5X9XVBRpCbYdwAjO0s4CoV6okH06euqlpvKhsLDKW6/TlIAqDVNg91Pqklu/oSd37faGCDfvDgsWvuypXe1VG+o2MXIdP5Z1Keis0tPKRyNCILa9aG8Jzue4Eaa3OnLCPnzT/MaXbTgAosLZf/IObyEGNhGnGZzUXXlwbwJNHQfeim1sILUEWCTU7/NrupSPOmjNzFcSQmvmLj4iBqnFikQez48uYl/ZL7jFYxbOxiPmXCNe+NX42TExT9P6wLkQs5kKzFbNKUgx5W5ou1ZQuqJ8CflS/eUBA+FEpb4nYdgPMKNwMPW/MD42Z1Uk=
  account: mediocregopher
2020-03-29 14:59:01 -06:00
..
nginx.conf make docker-remote not force a .git extension 2020-03-29 14:59:01 -06:00
pre-receive rename http-server to dehub-remote 2020-03-26 21:24:22 -06:00
README.md make docker-remote not force a .git extension 2020-03-29 14:59:01 -06:00
start.sh make docker-remote not force a .git extension 2020-03-29 14:59:01 -06:00

dehub-remote

This directory provides a simple Docker image which can be spun up to run a dehub-enabled git http remote server. Commits which are pushed to this server will be automatically verified using dehub verify.

The docker image is also being hosted on docker hub at mediocregopher/dehub-remote. Proper image tagging/versioning coming soon!

Usage

Running the following:

docker run \
    --name dehub \
    -v /opt/dehub/repos:/repos \
    -v /opt/dehub/www:/var/www \
    -p 8080:80 \
    mediocregopher/dehub-remote repo-a.git repo-b.git

Will start an http server on port 8080, using /opt/dehub/repos to store all repo folders. It will then initialize repo directories at /opt/dehub/repos/repo-a.git and /opt/dehub/repos/repo-b.git, if they arent already there.

If a volume for /var/www is given then that will be used as the root for all non-git http requests.

Contributors

The Dockerfile being used is based on gitbox, so thank you to nmarus for the great work there.