d6f5bf2e38
--- type: change message: rename http-server to dehub-remote change_hash: AJr5PxENqy2UgmM7a4OZ/lse0vEEQ0pTp/2iOi0mlF0a credentials: - type: pgp_signature pub_key_id: 95C46FA6A41148AC body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl59ceYACgkQlcRvpqQRSKxq8w/+J5xX2clHt/P/nc3e0dsFVLr/O3FB0J1m5x1fpLFMeZyWPjmbfCX30KrB/decyzGg7BFLYSbbCysMP2ZQt7bar1zDHN0vR5Isdv1Ru71uLKHeP65EW8fmm0DmDcCzJrFvveAfzgNm5gi8a3dEYCNTWUL8v7s/AhpQI/w7PGIOM+xEH2KFpaEEwAT20BAJI+SiTRW1/LxXocjYF4YvHHZGOCH6TESC8urLNDvfk54ayPRe6FOYLVhXXNRBm4Lv8vF9Yora1h6QG3mhzEzIVnRv+4/7xBOS5azIWpSo0MSdVLRmiae8jEYU0YCRixhIheiI2M664okCmOdVFNlGEbp5e1SmHzMdPONaOqN+LHRakwBEuVClpanZPRvFd3It0OtoLxiS/nJ17gzNQnPrqsNBYK35y3HowzLYe0zZDJZpYdIh0q06JFXew09ogW9Am35Mt+fZ8GTQFC9AR990umwCXaZ9WUq/Vc0i1SbsTFLyBTOabt+OdqnLTefF6bs5q5RyzETwcenJBusvjwOV0UHNTbUaE427wVCY2UupZAd6Sn1krdZvWvqq/oqJ6GKfRhmTA3X2UjSApI04CBGjbsfQ1o5wZnF+fKuwOO77rDTMNgbnmA5wxlaYlJ92WQXVKSlqCryqGc2joHkeWDablEV44ayGpDaGS1LUP2kAl3YM45c= account: mediocregopher
36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
# 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`.
|
|
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 repo-a repo-b
|
|
```
|
|
|
|
Will start an http server on port 8080, using `/opt/dehub/repos` to store all
|
|
repo folders. It will then initialize repos 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](https://github.com/nmarus/docker-gitbox), so thank you to nmarus for
|
|
the great work there.
|
|
|