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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,128 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot