how to dockerize a Confluence instance

I have a couple of Confluence instances running on some Mac Minis. I'd like to consolidate them onto one new machine using Docker. I can find Confluence instances to run, but no clear instructions on how to containerize my existing Confluence instances and run them on the new machine.

Anyone been down this rabbit hole?

As a  bonus question ==>  How do I configure nginx-proxy to properly pong at the correct container based on domain name

1 answer

Hello Michael,

check this image for reference

There is even a howto for a nginx reverse proxy config.

If you want to transfer an existing Confluence to Docker, you would normally copy all files from your CONFLUENCE_HOME directory to the Docker volume where the CONFLUENCE_HOME is located. I have done this even from Windows -> Linux, it is relatively simple. You can even use your existing DB configuration in confluence.cfg.xml. Just make sure you back up the volume regularly.

Also I have personally set up Confluence with a dockerized Postgres instance, but it was a fresh installation. Another Docker image connects to a plain old MSSQL server which isnt dockerized. In this case you can simply skip all db config stuff in docker and point confluence.cfg.xml to the existing server.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

253 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you