/docker-atlassian-confluence-data-center

Dockerized Atlassian Confluence Data Center for local testing during plugin development.

Primary LanguageShellMIT LicenseMIT

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 Status Loadbalancer URL 3rdparty Versions
6.2.0 ✅ current http://confluence-cluster-620-lb:50620/ postgres:9.4
java:8u131
6.1.2 ✅ current http://confluence-cluster-612-lb:50612/ postgres:9.4
java:8u131
6.1.1 🔴 deprecated http://confluence-cluster-611-lb:50611/ postgres:9.4
java:8u131

Please Note:

  • I 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