Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59502

[PATCH] Support customization of Lucene directory in docker image

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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>

      {% if atl_jdbc_url is defined %}

      {% set databases = {

      Attachments

        Activity

          People

            Unassigned Unassigned
            4332a96d098c KWRI IT
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: