/jira

The simplest docker file of JIRA.

Primary LanguageDockerfile

docker pulls docker stars image metadata

jira

README | 中文文档

  • Long Term Support Version(arm64&amd64): v9.12.13
  • Latest Version(arm64&amd64): v9.17.3
  • Beta Version(arm64&amd64): v10.0.1
  • The new way of use allows you to conveniently upgrade and modify parameters on your own, and it offers convenient support for HTTPS (thanks to 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:
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.3
  • config your own db:

How to hack jira

docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p jira \
    -m Hello@world.com \
    -n Hello@world.com \
    -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 Hello@world.com \
    -n Hello@world.com \
    -o your-org \
    -s you-server-id-xxxx
  1. Paste your license

Hack Jira Service Management(jsm) Plugin

Thanks to:

docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p jsm \
    -m Hello@world.com \
    -n Hello@world.com \
    -o your-org/ \
    -s you-server-id