Sign inSign up

walruship/jira

By walruship

Updated almost 3 years ago

The simplest Dockerfile of Jira

Image
0

69

walruship/jira repository overview

Jira Logo

This project comes as a pre-built docker image that enables you to easily installation Jira without having to know too much about setup Jira.

Features

  • Supports almost all plug-ins.
  • Support DataCenter mode.
  • Compared with traditional crack, you can easily upgrade your service without having to crack it again.
  • Provides a java-based command line keygen, which is more convenient to use in a terminal environment.

Quick Setup

  1. Install Docker and Docker-Compose
  1. Bring up your stack by running
git clone https://github.com/trants/jira.git \
    && cd jira \
    && cp .env.example .env
  1. Edit environment variable
# Jira
ATL_PROXY_NAME=localhost
ATL_PROXY_PORT=443
ATL_TOMCAT_PORT=8090
ATL_TOMCAT_SCHEME=https
ATL_TOMCAT_SECURE=true
JVM_CODE_CACHE_ARGS="-XX:InitialCodeCacheSize=1g -XX:ReservedCodeCacheSize=8g"
JVM_MAXIMUM_MEMORY=12g
JVM_MINIMUM_MEMORY=1g
PORT=8080
TZ=UTC
VERSION=9.4.12

# MySQL
MYSQL_USER=user
MYSQL_DATABASE=database
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=rootpassword

# Backup
SCHEDULE=@weekly
BACKUP_KEEP_DAYS=7
S3_ACCESS_KEY_ID=AKIA3M3ZKBJPQUBT2UK6
S3_BUCKET=my-s3-bucket
S3_PREFIX=prefix
S3_REGION=us-east-1
S3_SECRET_ACCESS_KEY=BNcXdm18XMctzMH87PZLm8UoP6WlegcPvsQbF5TH
PASSPHRASE=wxHw26GJZQBDenA8
MYSQL_HOST=mysql
  1. Start Jira
docker-compose up -d

How to hack Jira

docker exec jira java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p conf \
    -m [email protected] \
    -n [email protected] \
    -o http://yourdomain.com \
    -s you-server-id-xxxx

How to hack Jira plugin

  • Example 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 java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p eu.softwareplant.biggantt \
    -m [email protected] \
    -n [email protected] \
    -o http://yourdomain.com \
    -s you-server-id-xxxx
  1. Paste your license

How to upgrade

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

Security

  • If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

Tag summary

Content type

Image

Digest

sha256:79fa9e8f5

Size

1.1 GB

Last updated

almost 3 years ago

docker pull walruship/jira:9.4.12