Setting up IceScrum

Introduction

It may be easier to proceed with the official icescrum image,

#docker pull icescrum/icescrum

however, I just went through the application server installation for the newer IceScrum v7 release (as of today Apr 2017) with my own tomcat image.

Requirements

Setup logs & config location for IceScrum and a change a few Java/Catalina settings,

mkdir -p /tomcatprod/icescrum/logs/
chown -R tomcat8:tomcat8 /tomcatprod/icescrum/
vi /etc/default/tomcat

JAVA_OPTS="-Djava.awt.headless=true -Xms1g -Xmx3g -XX:+UseConcMarkSweepGC \
    -Dicescrum.log.dir=/tomcatprod/icescrum/logs \
    -Duser.timezone=UTC \
    -Dicescrum_config_location=/tomcatprod/icescrum/config.groovy \
    -Djava.awt.headless=true \
    -server \
    "

service tomcat8 restart

Also prepare that folder for icescrum (dirty fix),

mkdir /usr/share/tomcat8/icescrum/
chown tomcat8:tomcat8 /usr/share/tomcat8/icescrum/

very dirty fix (tmp),

chown tomcat8:tomcat8 /var/lib/tomcat8/

and also (for the web setup wizard),

mkdir /usr/share/tomcat8/.icescrum/
chown tomcat8:tomcat8 /usr/share/tomcat8/.icescrum/

Deployment

Fetch the .war directly on the tomcat container,

    cd /tomcatprod/
    wget https://www.icescrum.com/downloads/v7/icescrum.war

and deploy it,

cd /tomcatprod/
cp icescrum.war ~/webapps/

now watch the logs in real time before you start the app,

#tail -F ~/logs/*
tail -F /tomcatprod/icescrum/logs/*

finally start the app,

http://dockerhost:80XX/manager/html
icescrum ==> Start

make sure the tomcat8 container is able to send emails

cat /etc/aliases
hostname --long | mail -s "test for root" root
hostname --long | mail -s "test for tomcat8" tomcat8

and proceed with its web setup wizard,

http://host.example.com:8081/icescrum/

References


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun