kongzi68 / jira

The simplest docker file of JIRA. Support v9.2.0

Home Page:https://hub.docker.com/r/haxqer/jira

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker pulls docker stars image metadata

kubernetes helm charts

jira

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(mysql5.7) configure:
    driver=mysql5.7+
    host=mysql-jira
    port=3306
    db=jira
    user=jira
    passwd=123123

How to run with docker

  • start jira
    docker run -p 8080:8080 -v jira_home_data:/var/jira --network jira-network --name jira-srv -e TZ='Asia/Shanghai' haxqer/jira:rm
  • config your own db:

How to hack jira

docker exec jira-srv java -jar /var/agent/atlassian-agent.jar \
    -p jira \
    -m haxqer666@gmail.com \
    -n haxqer666@gmail.com \
    -o http://website \
    -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 \
    -p eu.softwareplant.biggantt \
    -m haxqer666@gmail.com \
    -n haxqer666@gmail.com \
    -o http://website \
    -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

Install docker & docker-compose

  • If you use debian, just do it.
    ./script/debian-install-docker.sh
    ./script/linux-install-docker-compose.sh

Set Proxy

path : ~/.docker/config.json

content :

{
    "proxies": {
        "default": {
         "httpProxy": "http://ip:port",
         "httpsProxy": "http://ip:port"
        }
    }
}

About

The simplest docker file of JIRA. Support v9.2.0

https://hub.docker.com/r/haxqer/jira


Languages

Language:Dockerfile 70.1%Language:Shell 29.9%