When a Confluence Server (running as a Docker container) defines a configuration value as both an environment variable and in confluence.cfg.xml, which takes precedence?
Example:
- ATL_JDBC_URL environment variable is defined
- confluence.cfg.xml defines hibernate.connection.url
Which one will Confluence use? Does Confluence document this?
Hi Brad
I think the environment variables will be used to generate the confluence.cfg.xml on the initial creation of the container. Once created it will keep using the xml file (unless you remove it from the container).
This is my experience from some time ago but I think you should test it to be sure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.