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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
Join discussion

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