Multiarch containerized gitolite server.
$ docker run -e ADMIN_PUBLIC_KEY="your public key" -p 8022:22 -d -t apptower/gitolite
$ docker volume create gitolite-volume
$ docker run -e ADMIN_PUBLIC_KEY="your public key" -p 8022:22 -v gitolite-volume:/home/git -d -t apptower/gitolite
Run gitolite via docker-compose
Example docker-compose.yml
version: "3.7"
services:
gitolite:
image: apptower/gitolite
restart: always
tty: true
volumes:
- gitolite-volume:/home/git
ports:
- "8022:22"
environment:
ADMIN_PUBLIC_KEY: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILwUSh+mMHRBz3IJFvvEFwYGKmaHUCTEBYWc3878jrnn This is administrator's public key"
volumes:
gitolite-volume:
Run docker-compose up -d, wait for it to initialize completely.
ADMIN_PUBLIC_KEY
This variable is mandatory. It allows you to manage the gitolite server.
The latest version of gitolite.
This image point to a specific version of gitolite.