Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/haxqer/jira

The simplest docker file of JIRA. Support v9.17.1(latest) and v9.12.12(lts)
https://github.com/haxqer/jira

crack docker docker-compose hack image-metadata jira k8s

Last synced: 3 months ago
JSON representation

The simplest docker file of JIRA. Support v9.17.1(latest) and v9.12.12(lts)

Awesome Lists containing this project

README

        

[![docker pulls](https://img.shields.io/docker/pulls/haxqer/jira.svg)](https://hub.docker.com/r/haxqer/jira/) [![docker stars](https://img.shields.io/docker/stars/haxqer/jira.svg)](https://hub.docker.com/r/haxqer/jira/) [![image metadata](https://images.microbadger.com/badges/image/haxqer/jira.svg)](https://microbadger.com/images/haxqer/jira "haxqer/jira image metadata")

# jira

[README](README.md) | [中文文档](README_zh.md)

+ Long Term Support Version(arm64&amd64): v9.12.12
+ Latest Version(arm64&amd64): v9.17.2
+ [The new way](https://github.com/haxqer/jira/tree/build-your-own) of use allows you to conveniently upgrade and modify parameters on your own, and it offers convenient support for HTTPS (thanks to [xsharp](https://github.com/xsharp)).

New Confluence/Jira releases support only Data Center licenses. To generate a Data Center licenses, add the `-d` parameter.

default port: `8080`

## requirement
- docker: 17.09.0+
- docker-compose: 1.24.0+

## How to run with docker-compose

- start jira & mysql

```
git clone https://github.com/haxqer/jira.git \
&& cd jira \
&& git checkout rm \
&& docker-compose pull \
&& docker-compose up
```

- start jira & mysql daemon

```
docker-compose up -d
```

- default db(mysql8.0) configure:

```bash
driver=mysql8.0
host=mysql-jira
port=3306
db=jira
user=root
passwd=123456
```

## How to run with docker

- start jira

```
docker volume create jira_home_data && docker network create jira-network && docker run -p 8080:8080 -v jira_home_data:/var/jira --network jira-network --name jira-srv -e TZ='Asia/Shanghai' haxqer/jira:9.17.2
```

- config your own db:

## How to hack jira

```
docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
-d \
-p jira \
-m [email protected] \
-n [email protected] \
-o your-org \
-s you-server-id-xxxx
```

## How to hack jira plugin

- .eg I want to use BigGantt plugin
1. Install BigGantt from jira marketplace.
2. Find `App Key` of BigGantt is : `eu.softwareplant.biggantt`
3. Execute :

```
docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
-d \
-p eu.softwareplant.biggantt \
-m [email protected] \
-n [email protected] \
-o your-org \
-s you-server-id-xxxx
```

4. Paste your license

## How to upgrade

```shell
cd jira && git pull
docker pull haxqer/jira:rm && docker-compose stop
docker-compose rm
```

enter `y`, then start server

```shell
docker-compose up -d
```

## Hack Jira Service Management(jsm) Plugin

Thanks to:
+ [d1m0nstr](https://github.com/d1m0nstr) for [Jira Service Management](https://github.com/haxqer/jira/issues/11)

```
docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
-d \
-p jsm \
-m [email protected] \
-n [email protected] \
-o your-org/ \
-s you-server-id
```