/confluence

The simplest docker file of Confluence. Support v8.5.2(latest/lts)

Primary LanguageDockerfile

confluence

New Confluence/Jira releases support only Data Center licenses. To generate a Data Center licenses, add the -d parameter.


Please be sure to upgrade to the latest version(8.7.2 or 8.5.5), as this bug.

Related issues:


README | 中文文档

default port: 8090

  • Latest Version: v8(8.7.2)
  • LTS Version: v8(8.5.5)
  • The new way of use allows you to conveniently upgrade and modify parameters on your own, and it offers convenient support for HTTPS (thanks to xsharp).
  • Latest Chinese Version: v7 (Thanks to: sunny1025g for the zh image. #issues/16 )

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 volume create confluence_home_data && docker network create confluence-network && docker run -p 8090:8090 -v confluence_home_data:/var/confluence --network confluence-network --name confluence-srv -e TZ='Asia/Shanghai' haxqer/confluence:8.7.2
  • config your own db:

How to hack confluence

docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p conf \
    -m Hello@world.com \
    -n Hello@world.com \
    -o your-org \
    -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 \
    -d \
    -p eu.softwareplant.biggantt \
    -m Hello@world.com \
    -n Hello@world.com \
    -o your-org \
    -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