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

configure JSPWiki with environment variables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 2.10.2
    • Core & storage
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: