2020-03-27 03:24:22 +00:00
|
|
|
# dehub-remote
|
2020-02-16 03:32:00 +00:00
|
|
|
|
|
|
|
This directory provides a simple Docker image which can be spun up to run a
|
2020-03-27 03:24:22 +00:00
|
|
|
dehub-enabled git http remote server. Commits which are pushed to this server
|
|
|
|
will be automatically verified using `dehub verify`.
|
2020-02-16 20:16:02 +00:00
|
|
|
|
2020-03-29 20:59:01 +00:00
|
|
|
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
|
2020-02-16 20:16:02 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Running the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run \
|
|
|
|
--name dehub \
|
|
|
|
-v /opt/dehub/repos:/repos \
|
|
|
|
-p 8080:80 \
|
2020-03-29 20:59:01 +00:00
|
|
|
mediocregopher/dehub-remote repo-a.git repo-b.git
|
2020-02-16 20:16:02 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Will start an http server on port 8080, using `/opt/dehub/repos` to store all
|
2020-03-29 20:59:01 +00:00
|
|
|
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.
|
2020-02-16 20:16:02 +00:00
|
|
|
|
2020-03-29 22:38:08 +00:00
|
|
|
## Extras
|
|
|
|
|
|
|
|
For convenience the docker image also includes the
|
|
|
|
[git-http-server](../git-http-server/) binary.
|
2020-02-16 20:16:02 +00:00
|
|
|
|
|
|
|
## Contributors
|
2020-02-16 03:32:00 +00:00
|
|
|
|
|
|
|
The Dockerfile being used is based on
|
|
|
|
[gitbox](https://github.com/nmarus/docker-gitbox), so thank you to nmarus for
|
|
|
|
the great work there.
|