Skip to content

Latest commit

 

History

History
137 lines (100 loc) · 3.07 KB

README.md

File metadata and controls

137 lines (100 loc) · 3.07 KB

docker pulls docker stars image metadata

jira

README | 中文文档

  • Long Term Support Version: v9.12.5

  • Latest Version: v9.14.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).

  • Arm Version

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.14.1
  • 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
  1. Paste your license

How to upgrade

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

enter y, then start server

docker-compose up -d

Arm

Not completely tested. Tested machines:

  • Mac mini(M1,2020)

Thanks to:

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

Hack Jira Service Management(jsm) Plugin

Thanks to:

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