This project delivers an HTTP-based Git repository server.
In an empty directory of your choice, use the following command line to start Manorrock Aegean:
docker run --rm -d -it -p 8080:8080 -v $PWD:/mnt ghcr.io/manorrock/aegean
To verify the container is up and running, execute the command below:
git clone http://localhost:8080/aegean/repositories/test.git
You should see output similar to the below:
Cloning into 'test'...
warning: You appear to have cloned an empty repository.
Congratulations, you are now running Manorrock Aegean!
To prevent anonymous users from creating new repositories, set the AEGEAN_ADMIN_USERNAME
and AEGEAN_ADMIN_PASSWORD
environment variables. See the example below:
docker run --rm -d -it -p 8080:8080 -v $PWD:/mnt -e AEGEAN_ADMIN_USERNAME=admin -e AEGEAN_ADMIN_PASSWORD=adminadmin ghcr.io/manorrock/aegean
If you want to create a new repository, use the -c extraHeader
option with the git clone command to provide the admin credentials, as illustrated below:
git clone -c http.extraHeader="Authorization: Basic $(echo -n 'admin:adminadmin' | base64)" http://localhost:8080/aegean/repositories/test.git
Once you have done this, the repository is created and available for any user to clone.
Yes, you can disable anonymous access to the server by setting the AEGEAN_ANONYMOUS_DISABLED
environment variable to true
. If you do so, you will also need to provide the admin credentials as described above to interact with the server.
docker run --rm -d -it -p 8080:8080 -v $PWD:/mnt -e AEGEAN_ANONYMOUS_DISABLED=true ghcr.io/manorrock/aegean
This project will not be developed into a full-blown code hosting platform. It will keep it simple and focus on delivering a Git repository hosting for personal use. If you need more than that, we recommend you look at GitHub, GitLab, Bitbucket, Gitea, GitBucket, or any of the other code hosting platforms available.
The following technologies were used to deliver this project:
See Contributing
See Code of Conduct
Note that if you file issues or answer questions on the issue tracker and/or issue pull requests, you agree that those contributions will be owned by Manorrock.com. Manorrock.com can use those contributions in any manner Manorrock.com desires.