Skip to content

Latest commit

 

History

History
167 lines (119 loc) · 3.74 KB

README_zh.md

File metadata and controls

167 lines (119 loc) · 3.74 KB

docker pulls docker stars image metadata

kubernetes helm charts

jira

README | 中文文档

新的Confluence/Jira版本仅支持数据中心许可证

默认端口: 8080

环境要求

  • docker: 17.09.0+
  • docker-compose: 1.24.0+

使用 docker-compose 启动 jira

  • 启动 jira & mysql
    git clone https://github.com/haxqer/jira.git \
        && cd jira \
        && git checkout rm \
        && docker-compose pull \
        && docker-compose up
  • 以守护进程的方式启动 jira & mysql
    docker-compose up -d
  • 默认的 数据库(mysql8.0) 配置:
    driver=mysql8.0
    host=mysql-jira
    port=3306
    db=jira
    user=root
    passwd=123456

使用 docker 启动

  • 启动 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
  • 然后配置你的数据库

破解 jira

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

初次安装 jira 时,安装页面会显示你的 server-id

破解 jira 的插件

  • 例如: 你想要破解 BigGantt 插件
  1. 从 jira marketplace 中安装 BigGantt 插件
  2. 查看 BigGantt 的 App Key 是 : eu.softwareplant.biggantt
  3. 然后执行 :
docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
    -p eu.softwareplant.biggantt \
    -m [email protected] \
    -n [email protected] \
    -o your-org \
    -s you-server-id-xxxx

System -> System Info 页面的 Server ID 字段即为你的 server-id

例如:

docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
    -p eu.softwareplant.biggantt \
    -m [email protected] \
    -n [email protected] \
    -o https://jira.haxqer.cm \
    -s BSFN-Q264-VGCZ-0AOE
  1. 最后粘贴生成的 licence

Datacenter license

添加 -d 参数即可生成 datacenter license

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

如何升级

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

输入 y 之后重启 jira:

docker-compose up -d

Arm

已经测试过的机器:

  • Mac mini(M1,2020)

感谢:

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

破解 Jira Service Management(jsm)

感谢:

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