Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 1.73 KB

README.md

File metadata and controls

82 lines (58 loc) · 1.73 KB

bitbucket

README | 中文文档

  • Latest Version: v7.21.16

Thanks to: voarsh2 for Bitbucket test data

v7.21.17+ requires an updated agent

default port: 7990

requirement

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

How to run with docker-compose

  • start bitbucket & mysql
    git clone https://github.com/haxqer/bitbucket.git \
        && cd bitbucket \
        && docker-compose pull \
        && docker-compose up
  • start bitbucket & mysql daemon
    docker-compose up -d
  • default db(mysql8.0) configure:
    driver=mysql8.0
    host=mysql-bitbucket
    port=3306
    db=bitbucket
    user=root
    passwd=123456

How to run with docker

  • start bitbucket
    docker volume create bitbucket_home_data && docker network create bitbucket-network && docker run -p 7990:7990 -p 7999:7999 -v bitbucket_home_data:/var/bitbucket --network bitbucket-network --name bitbucket-srv -e TZ='Asia/Shanghai' haxqer/bitbucket:7.21.16
  • config your own db:

How to hack bitbucket

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

How to hack bitbucket 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 bitbucket-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