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

configure JSPWiki with environment variables

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment