This issue has been created
There is 1 update.
 
 
XWiki Docker images / cid:jira-generated-image-avatar-4b80bbf3-97fd-4a52-9a5b-bc93f9b20385 XDOCKER-338 Open

Add possibilty to configure database port when using docker image

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4dd20498-9b9c-41f9-a263-2ffa77d0a691 Kjell Knudsen created this issue on 02/Oct/24 13:41
 
Summary: Add possibilty to configure database port when using docker image
Issue Type: cid:jira-generated-image-avatar-4b80bbf3-97fd-4a52-9a5b-bc93f9b20385 Improvement
Assignee: Unassigned
Created: 02/Oct/24 13:41
Priority: cid:jira-generated-image-static-major-da677e1b-fb35-4758-a22b-686f34da0b95 Major
Reporter: Kjell Knudsen
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.

 
 

1 update

 
cid:jira-generated-image-avatar-4dd20498-9b9c-41f9-a263-2ffa77d0a691 Changes by Kjell Knudsen on 02/Oct/24 13:42
 
Priority: Major Minor