Dockerized reviewboard. This container follows Docker's best practices, and DOES NOT include sshd, supervisor, apache2, or any other services except the reviewboard itself which is run with uwsgi
.
The requirements are PostgreSQL and memcached, you can use either dockersized versions of them, or external ones, e.g. installed on the host machine, or even third-party machines.
I'm neither a user nor maintainer of reviewboard itself. I created this repo a few years back to test reviewboard out, and did not use it since then. Seems like a lot of people find it useful, so in my spare time I try to fix whatever people are complaining about. Luckily it wasn't too bad so far in terms of support volume, so I'm ok with that. But if you are missing some features, or having trouble, please file a PR as I'm usually too busy to respond promptly.
Quickstart. Run dockerized reviewboard with all dockerized dependencies, and persistent data in docker containers.
make build # if you want to build the image yourself
make run
docker-compose up
Then go to http://127.0.0.1:8000/ (or your docker host) and login as admin:admin
Alternatively, here are the commands to do the same manually.
# Install postgres
docker run -d --name rb-postgres -e POSTGRES_USER=reviewboard postgres:alpine
# Install memcached
docker run --name rb-memcached -d -p 11211 memcached:alpine
# Run reviewboard with a named volume to hold your site's data
docker run -it -v reviewboard-site:/var/www/ --link rb-postgres:pg --link rb-memcached:memcached -p 8000:8000 ikatson/reviewboard
After that, go the url, e.g. http://localhost:8000/
, login as admin:admin
, change the admin password, and change the location of your SMTP server so that the reviewboard can send emails. You are all set!
For details, read below.
If you want to build this yourself, just run this:
docker build -t 'ikatson/reviewboard' git://github.com/ikatson/docker-reviewboard.git
You can install postgres either into a docker container, or whereever else.
-
Example: install postgres into a docker container, and create a database for reviewboard.
< 886C div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" docker run -d --name rb-postgres -e POSTGRES_USER=reviewboard postgres:alpine">docker run -d --name rb-postgres -e POSTGRES_USER=reviewboard postgres:alpine