921572d053
--- type: change message: Documentation fixes for dehub-remote and git-http-server change_hash: AHgOc66WotsrgX4qfuIWuI1kcI1prxoUvd4L5VKR3onI credentials: - type: pgp_signature pub_key_id: 95C46FA6A41148AC body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl6BI0UACgkQlcRvpqQRSKxcww//fSTl5noQ7ozmlchJjE+Us0RLDK4OCjKriEvF1eaulJQNYEu+d4YJCoCJ0GMQoRvng3zgbal+juHTCZVERCI3Q8wkAk3j6UxYPcuUfzH4DAZmwH7Y9EpwofXeB3ZnVypObQpy0EzlaqIfbk/UAvMuZc+u4c+0wFUR8gBk8rydnpAV4okD6t56U8uUwQtjvF1siCakcCSEHKRx2juDdjwMIA95BebsTZ+SiBgwh2p7sWbRn2+WCqCU0F62esG+1OHeSSkQFF2nI4Wz7t3iZfmMRExsxyfnvyTRlvDuvHNb/3d9hh+7oQmeZ1YcNOwbeWOY7MmO1cTqMbg+oaf3KOj04kyQg8oDPJZfFadW7a9ITzj+O8zVGJZXTDh6A6FVTfTnwx1t04JrkAncnd7/lQTYbRk8RcIrFtzXUkbd9l7eucooINk+sRek4jvGexQZhMjATaC6Qe1lHgYH0raWeAaoFfTXIqPlGPvsCSU8jBivZqvDrXF8u+2sneLKXw2EFmXp5OvzzIP40htZHNTX58Mx7D+09sIxJU3rN1R/bvxidyMW/+EKiP/3JgEW7kXPOc1tRdEMb1rJ6Iufy6mCkNgZXboI1uAr0Q9JB3GB08ocf2JA8mhSpuVWUssF0u3i5R47dmbwxsc3v4V/i8xPoO05b/n5I3TmLqR0ewiXUvCR4J8= account: mediocregopher
40 lines
1.1 KiB
Markdown
40 lines
1.1 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-remote][dehub-remote]. Proper image tagging/versioning
|
|
coming soon!
|
|
|
|
[dehub-remote]: https://hub.docker.com/repository/docker/mediocregopher/dehub-remote
|
|
|
|
## Usage
|
|
|
|
Running the following:
|
|
|
|
```
|
|
docker run \
|
|
--name dehub \
|
|
-v /opt/dehub/repos:/repos \
|
|
-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.
|
|
|
|
## Extras
|
|
|
|
For convenience the docker image also includes the
|
|
[git-http-server](../git-http-server/) binary.
|
|
|
|
## 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.
|