This is a containerized installation of Atlassian Jira with Docker. The aim of this image is to keep the installation easy and as straight forward as possible.
It's possible to clone this repo and build the image on you're own machine, but if you think that's a waste of time ;-) there's a Automated Build in the Docker Hub that's based on this repo.
- Docker Hub - Automated Build
- Atlassian Jira latest build
- Oracle MySQL Connector J latest build
- Atlassian Jira
Currently this repo have the following versions;
- 8.4.2 (latest - not yet tested)
- 8.4.1 (latest - tested)
Go to Branches to see all different builds that are available.
To quickly get started running a Jira instance, use the following command:
docker run --detach \
--name jira \
--publish 8080:8080 \
containerstack/jira:latest
Once the image has been downloaded and container is fully started (this could take a few minutes), browse to http://[dockerhost]:8080
to finish the configuration and enter your trail/license key.
NOTE: It's not recommended to run Jira this way because it does NOT have persistent storage, once the container is removed everything is gone!!
detach runs the container in the background name gives the container a more useful name publish publish a port from the container to the outside world (docker node [outside] / container [inside])
In order to make sure that what ever you or you're team is creating in Jira is persistent even when the container is recreated it's useful to make the "/var/atlassian/Jira" directory persistent.
docker run --detach \
--name Jira \
--volume "/persistent/storage/atlassian/Jira:/var/atlassian/Jira" \
--env "CATALINA_OPTS= -Xms512m -Xmx4g" \
--publish 8080:8080 \
containerstack/Jira:latest
Once the image has been downloaded and container is fully started (this could take a few minutes), browse to http://[dockerhost]:8080
to finish the configuration and enter your trail/license key.
Option | Description |
---|---|
detach | runs the container in the background |
name | gives the container a more useful name |
volume | maps a directory from the docker host inside the container |
env | sets environment variables (this case it's for setting the JVM minimum/maximum memory 512MB<->2GB) |
publish | publish a port from the container to the outside world (dockernode [outside] / container [inside]) |
If you see an issues please create an issue or even better fix it and create an PR :-)