Skip to content
Dockerized Atlassian Confluence Data Center for local testing during plugin development.
Shell
Branch: master
Clone or download
Latest commit 90c2f72 Jul 22, 2019

README.md

Docker Atlassian Confluence Data Center

Start an Atlassian Confluence Data Center with Docker for local testing during plugin development.

It starts a PostgreSQL Database, several Confluence cluster nodes and Apache2 HTTPD as sticky session loadbalancer. The shared confluence-home is handled via a shared Docker volume. This is not meant to be used in production! The cluster is designed to not be persistent, meaning, once you shut it down, all data is lost. See it as the Data Center version of atlas-run-standalone.

Please choose the Confluence version you want to run:

Confluence Version Loadbalancer URL 3rdparty Versions
7.0.1-m0103 http://confluence-cluster-701-lb:2701/ postgres:9.6
AdoptOpenJDK:8u212
6.15.3 http://confluence-cluster-6153-lb:26153/ postgres:9.6
AdoptOpenJDK:8u202
6.15.1 http://confluence-cluster-6151-lb:26151/ postgres:9.6
OpenJDK:8u181
6.14.0 http://confluence-cluster-6140-lb:26140/ postgres:9.6
OpenJDK:8u181
6.13.0 http://confluence-cluster-6130-lb:26130/ postgres:9.6
OpenJDK:8u181
6.12.1 http://confluence-cluster-6121-lb:26121/ postgres:9.6
OracleJDK:8u152
6.11.0 http://confluence-cluster-6110-lb:26110/ postgres:9.6
OracleJDK:8u152
6.10.0 http://confluence-cluster-6100-lb:26100/ postgres:9.4
OracleJDK:8u152
6.9.1 http://confluence-cluster-691-lb:50691/ postgres:9.4
OracleJDK:8u152
6.8.0 http://confluence-cluster-680-lb:50680/ postgres:9.4
java:8u152
6.7.1 http://confluence-cluster-671-lb:50671/ postgres:9.4
OracleJDK:8u152
6.6.0 http://confluence-cluster-660-lb:50660/ postgres:9.4
OracleJDK:8u152
6.5.0 http://confluence-cluster-650-lb:50650/ postgres:9.4
OracleJDK:8u141
6.4.0 http://confluence-cluster-640-lb:50640/ postgres:9.4
OracleJDK:8u141

Please Note:

  • We do not provide support. If you have questions on how to run Confluence and/or Confluence Data Center, please ask in the Atlassian Community.

 

Running the Confluence Data Center Plugin Validator

If the cluster is finally started up, you can run the Confluence Data Center Plugin Validator.

But before you do, please verify:

Now connect to one of the cluster nodes via:

docker exec -i -t confluence-cluster-612-node1 bash

Now inside the container run

cd /work
# download
curl -jkSL -o /work/cdc-plugin-validator-1.0.0.jar \
https://developer.atlassian.com/confdev/files/29466176/29525066/1/1407451934928/cdc-plugin-validator-1.0.0.jar
# exec validator
java -jar cdc-plugin-validator-1.0.0.jar \
     -installation /confluence/atlassian-confluence-latest \
     -dbuser confluence -dbpassword confluence \
     -dburl jdbc:postgresql://confluence-cluster-612-db:5432/confluence \
     -dbdriver org.postgresql.Driver \
     -dbfile /confluence/atlassian-confluence-latest/confluence/WEB-INF/lib/postgresql-9.4.1212.jar

You should get an output for your Plugin. For one of my Plugins the output looks like so:

...
Summary:
========
PASS: ./plugins/fr.spectrumgroupe.confluence.plugins.formatting.macros--plugin.8952733569564445853.formatting.macros-1.0.13.jar.report
PASS: ./plugins/com.atlassian.support.stp--stp-3.10.4.jar.report
PASS: ./plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin--plugin.1480744321619799648.atlassian-universal-plugin-manager-plugin-2.22.2.jar.report
PASS: ./plugins/com.atlassian.confluence.plugins.confluence-healthcheck-plugin--confluence-healthcheck-plugin-2.4.1.jar.report
PASS: ./plugins/confluencemavenreleaseinfomacro--plugin_6773597919257421869_confluence-maven-release-info-macro-1.5.2.jar.report

Now you can inspect the reports for further information.


 

Trademarks and Third Party Licenses


 

License

MIT © Bernhard Grünewaldt

You can’t perform that action at this time.