Docker image for Gittolite
This Gitolite Docker Image (255Mo) is based on Debian Jessie, I'll maybe migrate it to Alpine in the future.
I have created this Gitolite Docker image in june 2017 for a personnal project.
One year later, I have forgotten what project I have forked and why it.
Why do you use Gitolite instead GitLab, Gogs or Phabricator?
I would like write a tutorial post to explain how to use git-subrepo then I need lightning Git hosting on a central server like Gitolite to publish a demo.
Other Gitolite Docker image projects:
Use this docker-compose.yml
file:
version: '3.7'
services:
debian:
image: harobed/gitolite:latest
environment:
- SSH_KEY=...your public ssh key...
ports:
- "1234:22"
volumes:
- ./data/git/:/home/git/repositories/
- ./data/ssh/:/etc/ssh/
Launch it:
$ docker-compose up -d
$ git clone ssh://git@127.0.0.1:1234/gitolite-admin
$ cat gitolite-admin/conf/gitolite.conf
repo gitolite-admin
RW+ = admin
repo testing
RW+ = @all
See demo/
for a comprehensive demo.
$ ./scripts/build.sh
$ ./scripts/push.sh