Skip to content

The simplest docker file of Confluence. Support v8.9.6(latest) v9.0.3(latest) and v8.5.15(lts)

Notifications You must be signed in to change notification settings

haxqer/confluence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(9.1.0 or 8.5.16), as this bug.

Related issues:


README | 中文文档

default port: 8090

  • Latest Version(arm64&amd64): v8(8.9.7) v9(9.1.0)
  • LTS Version:(arm64&amd64) v8(8.5.16)
  • 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:9.1.0
  • config your own db:

How to hack confluence

docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p conf \
    -m [email protected] \
    -n [email protected] \
    -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 [email protected] \
    -n [email protected] \
    -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