Unattended Jira installation in docker

Hi all

I'm currently working on a dockerized version of JIRA (https://registry.hub.docker.com/u/inftec/jira/) which is based on the TAR archive. As we're managing our hosts with puppet I'm now trying to automate the installation through the use of environment variables and an initialization script. I managed to configure the database connection through dbconfig.xml.

Is there any way to configure the rest of the steps from the setup wizard in a similar fashion?

I've tried setting the values in jira-application.properties (eg. jira.title, jira.baseurl, jira.mode, etc.) but with no success. Any help on that?

Regards
Fabian

2 answers

Hi Pedro

I thought about that as well. The problem with this is, that it only works with the bin installer and only at install time but not at run time. I want to install JIRA directly into the docker container. Installing it at startup of the container would greatly increase the startup time of the container (download, installation, startup). For containers which get destroyed regularly, this would cause a huge overhead. Also tagging container according to the installed JIRA version wouldn't work as well anymore.

It would be great if I could supply all the necessary values in jira-application.properties (or some other file) and the setup wizard would use those instead of asking me (like it does with the database configuration). Actualy, according to documentation I should be able to supply JIRA title through that file (jira.title=Example Inc.) but the wizard still just uses the default ("My Company", I believe).

Regards
Fabian

0 votes
Pedro Cora Atlassian Team Feb 25, 2015

Fabian,

Perhaps you can use the Unattended Installation steps (https://confluence.atlassian.com/display/JIRA/Installing+JIRA+on+Linux#InstallingJIRAonLinux-PerforminganUnattendedInstallation) and modify the required file to suit your needs.

Hope this helps! smile

-- Pedro

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,480 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you