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

https://github.com/blacklabelops/confluence

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.

Cheers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

86 views 0 11
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