Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-878

configure JSPWiki with environment variables

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.10.2
    • Component/s: Core & storage
    • Labels:
      None
    • Environment:

      JSPWiki 2.10.2

      Description

      It should be possible to configure JSPWiki using environment variables.
      Currently we support the jspwiki-custom.properties, and the option to override properties with Java System properties (see JSPWIKI-660).

      It is more convenient to work with envvars than tweaking the JVM arguments, at least in some enviroments.

      I am currently playing around with Docker and want to have a JSPWiki running in it, therefore we need envvars.

      The patch is simple , just a few lines of code in TextUtil, I will attach a patch proposal.

        Attachments

        1. JSPWIKI-878.patch
          4 kB
          Harry Metske

          Activity

            People

            • Assignee:
              metskem Harry Metske
              Reporter:
              metskem Harry Metske
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: