Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
The docker images don't allow customization of the Lucene index directory. The Lucene index directory could be placed on "higher performance" volumes in Kubernetes deployments if this was a feature.
This is a supported configuration flag, and really should be exposed in the containers programmatically.
$ diff -Naur confluence.cfg.xml.j2 confluence.cfg.xml.j2.new
— confluence.cfg.xml.j2 2020-02-18 09:21:11.000000000 -0600
+++ confluence.cfg.xml.j2.new 2020-02-18 09:23:43.000000000 -0600
@@ -11,6 +11,7 @@
<property name="confluence.database.connection.type">database-type-standard</property>
<property name="webwork.multipart.saveDir">${localHome}/temp</property>
<property name="attachments.dir">${confluenceHome}/attachments</property>
+ <property name="lucene.index.dir">{{ lucene_index_dir | default('${localHome}/index') }}</property>
{% set databases = {