Giter Site home page Giter Site logo

docker-reviewboard's Introduction

docker-reviewboard

Forked from ikatson/docker-reviewboard and adapted to work with apache and mysql.

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.

Quickstart. Run dockerized reviewboard with all dockerized dependencies, and persistent data in a docker container.

# Setup a MySQL container
docker run --name review-board-mysql --restart=always -e MYSQL_ROOT_PASSWORD=<your_pwd> -d mysql:latest

# Setup the RB database
docker exec -it review-board-mysql bash
mysql -uroot -p
<enter pwd>
sql> create database <RB_database_name>;
exit
exit

# Install memcached
ddocker run --name review-board-memcached --restart=always -d memcached memcached -m 4048

# Create a data container for reviewboard with ssh credentials and media.
docker run -v /.ssh -v /media --name rb-data busybox true

# Create a container to run HTTPD
docker run -it --restart=always --name review-board-apache -v <some_httpd_data_location>:/usr/local/apache2/htdocs/ httpd:2.4

# Run reviewboard
docker run -it --link review-board-mysql:mysql --link review-board-memcached:memcached --link review-board-httpd:httpd --volumes-from rb-data --name review-board -v <location_that_httpd_uses>:/var/www -p 8000:8000 -e MYSQL_HOST="<ip_of_mysql_container>" -e MYSQL_USER="root" -e MYSQL_PASSWORD="<mysql_root_pwd>" -e MYSQL_DATABASE="<RB_db_name>" -e ADMIN_PASSWORD="<RB_admin_passwd>" -e ADMIN_EMAIL="<RB_admin_email>" -e DOMAIN="<RB_domain_name>" feetball/reviewboard

After that, go the url, e.g. http://localhost:8000/, login as admin:<RB_admin_pwd>, change the admin password, and change the location of your SMTP server so that the reviewboard can send emails. You are all set!

docker-reviewboard's People

Contributors

feetball avatar ikatson avatar leoger avatar markusn avatar spitty avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.