.. | ||
5 | ||
6 | ||
7 | ||
8 | ||
latest | ||
README.md |
Atlassian Enterprise releases
Build info
All presented images avalible on our repo in docker hub.
LTS releases:
- Latest version of
Jira 8
branch is8.5.3
- Older version of
Jira 8
branch is8.5.0
- Older version of
- Latest version of
Jira 7
branch is7.13.11
- Older version of
Jira 7
branch is7.6.17
- Older version of
Some old versions of Jira may fail health check with AdoptOpenJDK (open source, prebuilt OpenJDK binaries). But it will be works.
JIRA Software is a software development tool used by agile teams.
Learn more about JIRA Software: https://www.atlassian.com/software/jira
Overview
This Docker container makes it easy to get an instance of JIRA Software up and running.
Quick Start
For the JIRA_HOME
directory that is used to store application data (amongst other things) we recommend mounting a host directory as a data volume, or via a named volume if using a docker version >= 1.9.
To get started you can use a data volume, or named volumes. In this example we'll use named volumes.
$> docker volume create --name jiraVolume
$> docker run -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 epicmorg/jira
Success. JIRA is now available on http://localhost:8080*
Please ensure your container has the necessary resources allocated to it. We recommend 2GiB of memory allocated to accommodate the application server. See System Requirements for further information.
* Note: If you are using docker-machine
on Mac OS X, please use open http://$(docker-machine ip default):8080
instead.
Memory / Heap Size
If you need to override JIRA's default memory allocation, you can control the minimum heap (Xms) and maximum heap (Xmx) via the below environment variables.
-
JVM_MINIMUM_MEMORY
(default: 384m)The minimum heap size of the JVM
-
JVM_MAXIMUM_MEMORY
(default: 768m)The maximum heap size of the JVM
Reverse Proxy Settings
If JIRA is run behind a reverse proxy server as described here, then you need to specify extra options to make JIRA aware of the setup. They can be controlled via the below environment variables.
-
CATALINA_CONNECTOR_PROXYNAME
(default: NONE)The reverse proxy's fully qualified hostname.
-
CATALINA_CONNECTOR_PROXYPORT
(default: NONE)The reverse proxy's port number via which JIRA is accessed.
-
CATALINA_CONNECTOR_SCHEME
(default: http)The protocol via which JIRA is accessed.
-
CATALINA_CONNECTOR_SECURE
(default: false)Set 'true' if CATALINA_CONNECTOR_SCHEME is 'https'.
JVM configuration
If you need to pass additional JVM arguments to JIRA, such as specifying a custom trust store, you can add them via the below environment variable
-
JVM_SUPPORT_RECOMMENDED_ARGS
Additional JVM arguments for JIRA
Example:
$> docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/jira/cacerts -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 epicmorg/jira
Data Center configuration
This docker image can be run as part of a Data Center cluster. You can specify the following properties to start Jira as a Data Center node, instead of manually configuring a cluster.properties file, See Installing Jira Data Center for more information on each property and its possible configuration.
-
CLUSTERED
(default: false)Set 'true' to enable clustering configuration to be used. This will create a cluster.properties file inside the container's
$JIRA_HOME
directory. -
JIRA_NODE_ID
(default: jira_node_)The unique ID for the node. By default, this will include the first eight characters of the Docker container ID, but can be overridden with a custom value.
-
JIRA_SHARED_HOME
(default: $JIRA_HOME/shared)The location of the shared home directory for all Jira nodes.
-
EHCACHE_PEER_DISCOVERY
(default: default)Describes how nodes find each other.
-
EHCACHE_LISTENER_HOSTNAME
(default: NONE)The hostname of the current node for cache communication. Jira Data Center will resolve this this internally if the parameter isn't set.
-
EHCACHE_LISTENER_PORT
(default: 40001)The port the node is going to be listening to.
-
EHCACHE_LISTENER_SOCKETTIMEOUTMILLIS
(default: 2000)The default timeout for the Ehcache listener.
-
EHCACHE_MULTICAST_ADDRESS
(default: NONE)A valid multicast group address. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' insted of 'default'.
-
EHCACHE_MULTICAST_PORT
(default: NONE)The dedicated port for the multicast heartbeat traffic.Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' insted of 'default'.
-
EHCACHE_MULTICAST_TIMETOLIVE
(default: NONE)A value between 0 and 255 which determines how far the packets will propagate. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' insted of 'default'.
-
EHCACHE_MULTICAST_HOSTNAME
(default: NONE)The hostname or IP of the interface to be used for sending and receiving multicast packets. Required when EHCACHE_PEER_DISCOVERY is set to 'automatic' insted of 'default'.
Upgrade
To upgrade to a more recent version of JIRA you can simply stop the jira
container and start a new one based on a more recent image:
$> docker stop jira
$> docker rm jira
$> docker run ... (See above)
As your data is stored in the data volume directory on the host it will still be available after the upgrade.
Note: Please make sure that you don't accidentally remove the jira
container and its volumes using the -v
option.
Backup
For evaluations you can use the built-in database that will store its files in the JIRA home directory. In that case it is sufficient to create a backup archive of the docker volume.
If you're using an external database, you can configure JIRA to make a backup automatically each night. This will back up the current state, including the database to the jiraVolume
docker volume, which can then be archived. Alternatively you can backup the database separately, and continue to create a backup archive of the docker volume to back up the JIRA Home directory.
Read more about data recovery and backups: https://confluence.atlassian.com/adminjiraserver071/backing-up-data-802592964.html
Versioning
The latest
tag matches the most recent release of Atlassian JIRA Software. Thus epicmorg/jira:latest
will use the newest version of JIRA available.
Versions available
epicmorg/jira:latest
- another like sub-directories names (like
7.10.0
,8.16.1
, etc)
Support
This Docker container is unsupported and is intended for illustration purposes only.