Skip to content

The simplest docker file of Confluence. Support v8.9.8(latest) v9.2.1(latest) and v8.5.19(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

Nov 16, 2023
675c2e6 · Nov 16, 2023

History

72 Commits
Nov 10, 2023
Aug 8, 2022
Nov 9, 2023
Nov 16, 2023
Nov 16, 2023
Nov 10, 2023

Repository files navigation

confluence

Please be sure to upgrade to the latest version(8.6.1 or 8.5.3), as this bug: https://confluence.atlassian.com/security/cve-2023-22518-improper-authorization-vulnerability-in-confluence-data-center-and-server-1311473907.html

README | 中文文档

default port: 8090

  • Latest Version: v8(8.6.1)
  • LTS Version: v8(8.5.3)
  • 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.6.1
  • 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

About

The simplest docker file of Confluence. Support v8.9.8(latest) v9.2.1(latest) and v8.5.19(lts)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published