Skip to content

Accenture/adop-gerrit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Supported tags and respective Dockerfile links

What is docker-gerrit?

adop-gerrit is a wrapper for the openfrontier/gerrit image. It has primarily been built to perform extended configuration. Gerrit, web-based collaboration tool. Gerrit aims to facilitate reviews of source code in the context of a software developers in a team.

How to use this image

The easiest way to run adop-gerrit image is as follow:

docker run --name <your-container-name> -d -p 8080:8080 -p 29418:29418 accenture/adop-docker-gerrit:VERSION

after the above gerrit will be available at: http://localhost:8080

Runtime configuration can be provided using environment variables:

  • ADOP_INTERNAL_LDAP, Allowed values true(default) and false. This parameter identifies whether ADOP internal LDAP is used or not. If set to false, required local users are created in gerrit.
  • LDAP_PROTOCOL, allowed values ldap(default) and ldaps

Run docker-gerrit with MySQL and OpenLDAP

The following assumes that MySQL and OpenLDAP are running.

The following command will run adop-gerrit and connect it to MySQL and OpenLDAP

  docker run \
  --name adop-gerrit \
  -p 8080:8080 \
  -p 29418:29418 \
  -e DATABASE_TYPE=mysql \
  -e DB_HOSTNAME=<mysql-servername>
  -e DB\_PORT="3306"
  -e DB\_NAME=<mysql-dbame>
  -e DB\_USER=<mysql-dbuser>
  -e DB\_PASSWORD=<mysql-dbpassword>
  -e AUTH\_TYPE=LDAP \
  -e LDAP\_SERVER=<ldap-servername:389> \
  -e LDAP\_ACCOUNTBASE=<ldap-basedn> \
  -d accenture/adop-gerrit:VERSION

In addition all the LDAP attibutes defined in Gerrit LDAP are supported.

License

Please view licence information for the software contained on this image.

#Supported Docker versions

This image is officially supported on Docker version 1.9.1. Support for older versions (down to 1.6) is provided on a best-effort basis.

User feedback

Documentation

Documentation for this image is available in the Gerrit documenation page. Additional documentaion can be found under the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contribute

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.