Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12445

Docker : Improve volumes declaration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The current documentation for using docker CE image says that you can, if you want, use mounted volume for conf, data, logs and extensions.

      This is good enough for testing, but for an enterprise grade image, we should state that:

      1. directories where SonarQube writes ( data and logs) must be mounted to either a host directory or a Docker volume
      2. to provide a custom configuration, conf should be mounted to a host directory or a Docker volume
      3. to provide customer plugin setup (eg. persist Update Center plugins installation across container starts, provide propriatory DB drivers, ...), extensions directory should be mounted to a host directory or a Docker volume

      Also, we could document that SQ official images will initialize conf and extensions directories with files from distributed SQ artifacts if provided with empty volume or host directories and customization is therefor a simple matter of changing the content of these directories.

      Documentation will be updated for CE, DE and EE Editions Docker images.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierre.guillot Pierre Guillot
              Reporter:
              pierre.guillot Pierre Guillot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: