Skip to content

Addono/docker-jira-software-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Jira Software Standalone

License Project Status: Active – The project has reached a stable, usable state and is being actively developed. GitHub Workflow Status - Docker Docker Image Pulls (all-time) Docker Image Version (latest semver) All Contributors

📝 Table of Contents

🧐 About

Dockerized version of Jira Software to easily spin up development versions without having to deal with the hassle of managing licences.

This image uses atlas-cli to create an empty Jira Software instance by launching a development environment for an empty plugin. Starting this development environment can be very slow (expect it to take more than 5 minutes), so this is best used for asyncronous tasks, such as running in your CI pipeline.

🎈 Usage

This image is published to Docker Hub. Using them is easy, to run it in the foreground:

docker run -it -p 2990:2990 --name jira addono/jira-software-standalone

Or in detached mode as to run it in the background:

docker run -d -it -p 2990:2990 --name jira addono/jira-software-standalone

Note: Make sure that the -i flag is enabled, as without it the server will exit the moment it completed booting.

Travis CI

This is one way on how to use this image in a Travis CI pipeline. Add the following lines to your .travis.yaml file and access it at the location specified in the environment variables.

# Let the CI runner provision Docker for us
services:
  - docker

# Spin up the Jira instance before we run our jobs
before_install:
# Launch a Jira instance in detached mode
  - docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone
# Wait until Jira has booted
  - until $(curl -u $CI_JIRA_ADMIN:$CI_JIRA_ADMIN_PASSWORD --output /dev/null --silent --head --fail $CI_JIRA_URL/rest/api/2/permissions); do sleep 5; done

# Set the default hostname and admin user credentials as environment variables
env:
  global:
    - CI_JIRA_URL=http://localhost:2990/jira
    - CI_JIRA_ADMIN=admin
    - CI_JIRA_ADMIN_PASSWORD=admin

✨ Contributors

Thanks goes to these wonderful people (emoji key):


Adriaan Knapen

💻 ⚠️ 📖

This project follows the all-contributors specification. Contributions of any kind welcome!