Image which include reviewboard, a peer review tool.
This images work with:
mysql
orpostgresql
databaseSubversion
andgit
SCMmemcached
for the cache server
You must link your database to this container with rb_db
alias and the cache server with memcached
alias
Run a database instance
docker run -d --name database -e MYSQL_ROOT_PASSWORD=reviewboard -e MYSQL_USER=reviewboard -e MYSQL_PASSWORD=reviewboard -e MYSQL_DATABASE=reviewboard mysql
Run memcache instance
docker run -d --name cache memcached
Run the Reviewboard and link it to cache and database server
docker run -d --name reviewboard -p "8000:8000" --link "cache:memcached" --link "database:rb_db" ducatel/reviewboard
The web interface is available on port 8000
You should use docker-compose
to do that. An example of docker-compose.yml file is present in this repo.
You can configure this images with some environment variables:
DB_TYPE
- The database server you want to use.
mysql
orpostgresql
- Default value:
mysql
- The database server you want to use.
DB_PORT
- The port of database you want to use.
- Default value:
3306
DB_NAME
- The database name you want to use
- Default value:
reviewboard
DB_USER
- The database user you want to use
- Default value:
reviewboard
DB_PASSWORD
- The password associated to your database user
- Default value:
reviewboard
RB_ADMIN
- The login admin for the Reviewboard instance
- Default value:
admin
RB_PASSWORD
- The password of Reviewboard admin
- Default value:
admin
RB_ADMIN_EMAIL
- The email of Reviewboard admin
- Default value:
[email protected]
UWSGI_PROCESSES
- The number of thread use by the web server
- Default value:
10
This container expose volume:
/media
where the uploaded files are stored/var/www
where reviewboard conf are stored