An open API service indexing awesome lists of open source software.

https://github.com/addono/docker-jira-software-standalone

Docker image for running Jira Software standalone for development purposes.
https://github.com/addono/docker-jira-software-standalone

Last synced: 10 months ago
JSON representation

Docker image for running Jira Software standalone for development purposes.

Awesome Lists containing this project

README

          

# Docker Jira Software Standalone

[![License](https://img.shields.io/github/license/Addono/docker-jira-software-standalone?style=flat-square)](https://github.com/Addono/docker-jira-software-standalone/blob/master/LICENSE)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://img.shields.io/badge/project%20status-Active-greengrass?style=flat-square)](https://www.repostatus.org/#active)
![GitHub Workflow Status - Docker](https://img.shields.io/github/actions/workflow/status/Addono/docker-jira-software-standalone/dockerpublish.yml?style=flat-square)
[
![Docker Image Pulls (all-time)](https://img.shields.io/docker/pulls/addono/jira-software-standalone?style=flat-square)
![Docker Image Version (latest semver)](https://img.shields.io/docker/v/addono/jira-software-standalone?sort=semver&style=flat-square)
](https://hub.docker.com/r/addono/jira-software-standalone)
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)

## 📝 Table of Contents

- [About](#about)
- [Usage](#usage)
- [Contributors](#contributors)

## 🧐 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](https://hub.docker.com/r/addono/jira-software-standalone). Using them is easy, to run it in the foreground:
```bash
docker run -it -p 2990:2990 --name jira addono/jira-software-standalone
```

Or in detached mode as to run it in the background:
```bash
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.

```yaml
# 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](https://allcontributors.org/docs/en/emoji-key)):



Adriaan Knapen

💻 ⚠️ 📖

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!