3 minutes Icescrum server with docker on Debian Jessie

EnglishTutorials

Connected as root :

Update repo

apt-get update
apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl software-properties-common

Get docker repo

curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add -
add-apt-repository "deb https://apt.dockerproject.org/repo/ debian-$(lsb_release -cs) main"

Re-update depo

apt-get update

Install docker

apt-get -y install docker-engine

Test docker with :

docker run hello-world

Now for Icescrum
Icescrum DB will be in a docker container, we’ll use mariadb communicating through network

Create network

docker network create --driver bridge net_sql

Preparing folders for both installations :

mkdir /srv/mariadb
mkdir /srv/icescrum

MariaDB docker container launch, you give root password and create icescrum database

docker run --name icescrum_mariadb -v /srv/mariadb:/var/lib/mysql --net=net_sql -e MYSQL_ROOT_PASSWORD=aWonDerFullPassWordYouCaniMagiNE   -e MYSQL_DATABASE=icescrum  -d mariadb:latest

Check if mariadb server is running :
docker exec -i -t icescrum_mariadb service mysql status
If not : start it
docker exec -i -t icescrum_mysql service mysql start

And install Icescrum docker on the same network with a link to the mariadb container too:

docker run --name icescrum -e ICESCRUM_HOST=YourHosIP -v /srv/icescrum:/root --net=net_sql --link icescrum_mariadb:mysql -p 8080:8080 icescrum/icescrum

Wait until Server startup in XXXX ms is shown
and go to :

http://yourDockerHostIP:8080/icescrum

and follow the wizard…

When you’ll be on the MySQL configuration, just replace the localhost with the name you gave previously, here it was : icescrum_mysql so :

Once done just restart the icescrum server :
docker restart icescrum

Previous
Post from Java to a Google docs form
Next
3 minutes taiga server

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.