b565d26d1f
message: actually set the default branch to trunk in the http-server, forgot to add the changes >_< change_hash: AFwqLk4zNKcxco1FPxpg6YwDlubszqfAiua4fJ8MQffU credentials: - type: pgp_signature pub_key_id: 95C46FA6A41148AC body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl5Jqh0ACgkQlcRvpqQRSKz0oQ/9GsiL8sd4qsafzEg0HNT11xCEDqaNpKf/fRwE9F3BfSbiie39qyXWObdvCXfU0EcdH/PSBCPp6vXc6GR6aWvWoZX3FayMfj8mWh0X8ILGxT2f4PM47HdzLaAPpcwhGicaXOuMhcs0TuXPqeJjJVDZwsp7osCe39bnI5qk5gSERI3n3OKOT3G3eXGXHyImN8zcOmD+2zZF9RdcgsMZGiPIKp37z7GMYTjIRi+EGAgyjlJYSy2G+msUZW+4zVBSJZNT7m+2SojDn+gyoxJ9BgWEv0RqH+J5WzagwcDlXQufAztmEkTNNQyEv/V4UrIbO2SkJQ+BpdV6XsZtHVFpsU/qBntEfofzmVq4qsonEcCoC+O5IbGMupayuirSia0hvtKYjIVYKPwAS3fkIjykDrSvfQUZBG1eJNlUaW7vZbDCfx8utFrwQMjnO61+iZPFqye9lNvHcxbchTtYwVgbh57wda/HQRR1w+r1tNh9cvCSUkff0IiJMyl74STYETa3lUo6O+sFlnIQvCpOM3zN7vUrKH7LFL8WY4QZFkoeN1o0yV4gOQUXDcj/q+C+waxPsQTQHLDPiAxMlKP0e+78xAFJfoe2/4SNNGufVA0YD9Q8eLJQ3cHshKPKKTKUlP2Q/4TesFHAjRdefyhPc4xWgF4xLNK1SuXIe/pc1pMg3yHkZjE= account: mediocregopher |
||
---|---|---|
.. | ||
.gitignore | ||
Dockerfile | ||
nginx.conf | ||
pre-receive | ||
README.md | ||
run.sh | ||
start.sh |
dehub-server
This directory provides a simple Docker image which can be spun up to run a
dehub-enabled git http server (i.e. one in which incoming commits will be
verified prior to being accepted into the trunk
branch).
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, so thank you to nmarus for the great work there.