Is there any way to configure confluence system properties *without* placing them in the confluence.cfg.xml file? I am in the middle of a rebuild of our confluence setup, and I'm using the official docker image (https://hub.docker.com/r/atlassian/confluence-server/) to run our new confluence instance. The end goal of this project is to be able to tear down the machines running the docker image, and to provision new instances, all in an automated fashion. The problem I'm running into is that it seems the only place to setup system properties is within the confluence.cfg.xml file. Now I can create a copy of this file, add my database configuration in there, and then mount it in the container when it starts, but there is a fair amount in that file that probably shouldn't be managed by me - the jwt.private.key and jwt.public key, for example.
So, is there a way to provide system properties for things like:
In a properties file or through environment variables that are then passed to the container?
Thanks,
Matt
The docker page you link to says :-
Example:
$> docker run -e JVM_SUPPORT_RECOMMENDED_ARGS=-Djavax.net.ssl.trustStore=/var/atlassian/application-data/confluence/cacerts -v confluenceVolume:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server
Did you try adding in your hibernate values that way?
(Also note the Support paragraph near the bottom stating the docker image as is wont be supported by Atlassian, so I'd be careful using it in production.)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.