Skip to content

socialwifi/docker-gerrit

 
 

Repository files navigation

Gerrit Docker image

Build a Docker image with the Gerrit code review system.

Container Quickstart

  1. Initialize and start gerrit.

$ docker run -d -p 8080:8080 -p 29418:29418 socialwifi/gerrit

  1. Open your browser to http://:9000

Use another container as the gerrit site storage.

  1. Create a volume container.

$ docker run --name gerrit_volume socialwifi/gerrit echo "Gerrit volume container."

  1. Initialize and start gerrit using volume created above.

$ docker run -d --volumes-from gerrit_volume -p 8080:8080 -p 29418:29418 socialwifi/gerrit

Use local directory as the gerrit site storage.

  1. Create a site directory for the gerrit site.

$ mkdir ~/gerrit_volume

  1. Initialize and start gerrit using the local directory created above.

$ docker run -d -v ~/gerrit_volume:/var/gerrit/review_site -p 8080:8080 -p 29418:29418 socialwifi/gerrit

Issues

  1. Timezone is UTC.

About

Build a Docker image with the Gerrit code review system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%