Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to skip database setup with Confluence Docker container

Robin Jansohn December 22, 2020

I'm trying to clone a production instance of Confluence to our DEV environment using the official Confluence Docker Images.

We currently clone the DB schema to a new schema and copy the data directory to the DEV environment. We delete the confluence.cfg.xml file so docker will re-create it on the first start. However the template (https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server/src/master/config/confluence.cfg.xml.j2) currently hard-codes the setupStep to setupstart so we would always need to manually set-up the DB (this also fails by the way as the DB schema is not empty!).

I think the template file should be updated to allow skipping the DB setup and re-use an existing DB schema with existing data.

Have I missed something how to achieve this or is there currently no way to do this except manipulating the confluence.cfg.xml manually?

1 answer

0 votes
James Wernicke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2021

I would also like this. An`ATL_SETUP_STEP=complete` flag that is used in the JInja template seems like it would suffice.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events