Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-338

Add possibilty to configure database port when using docker image

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Unknown

    Description

      It would be really nice to have an environment variable for controlling the database port when using the docker image. I thought I could just add the port to the host string, but that leads to something like this inside the hibernate.cfg.xml connection url: 

      jdbc:postgresql://localhost:9947:5432/xwiki?

      I need to fully automate the deploy, so it is not a good option for me to edit the config file manually.

      Attachments

        Activity

          People

            Unassigned Unassigned
            k-jell Kjell Knudsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: