You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
# 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 \
|
|
-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](https://github.com/nmarus/docker-gitbox), so thank you to nmarus for
|
|
the great work there.
|
|
|