/confluence

The simplest docker file of Confluence. Support v8.0.3

Primary LanguageDockerfile

confluence

default port: 8090

  • Long Term Support Version: v7(7.19.5)
  • Latest Version: v8(8.0.3)

Requirement

  • docker-compose: 17.09.0+

How to run with docker-compose

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

How to run with docker

  • start confluence
    docker run -p 8090:8090 -v ./confluence:/var/confluence --network confluence-network --name confluence-srv -e TZ='Asia/Shanghai' haxqer/confluence:7.19.5
  • config your own db:

How to hack confluence

docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
    -p conf \
    -m haxqer666@gmail.com \
    -n haxqer666@gmail.com \
    -o http://website \
    -s you-server-id-xxxx

How to hack confluence plugin

  • .eg I want to use BigGantt plugin
  1. Install BigGantt from confluence marketplace.
  2. Find App Key of BigGantt is : eu.softwareplant.biggantt
  3. Execute :
docker exec confluence-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 confluence && git pull
docker pull haxqer/confluence:latest && docker-compose stop
docker-compose rm

enter y, then start server

docker-compose up -d