Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-docker Commit: bb158e86ab7137c192f703ceaf49cbe5974ed140 https://github.com/xwiki/xwiki-docker/commit/bb158e86ab7137c192f703ceaf49cbe... Author: Vincent Massol <[email protected]> Date: 2026-07-27 (Mon, 27 Jul 2026) Changed paths: M 16/mariadb-tomcat/Dockerfile M 16/mariadb-tomcat/xwiki/docker-entrypoint.sh M 16/mysql-tomcat/Dockerfile M 16/mysql-tomcat/xwiki/docker-entrypoint.sh M 16/postgres-tomcat/Dockerfile M 16/postgres-tomcat/xwiki/docker-entrypoint.sh M 16/postgres-tomcat/xwiki/hibernate.cfg.xml M 17/mariadb-tomcat/Dockerfile M 17/mariadb-tomcat/xwiki/docker-entrypoint.sh M 17/mysql-tomcat/Dockerfile M 17/mysql-tomcat/xwiki/docker-entrypoint.sh M 17/postgres-tomcat/Dockerfile M 17/postgres-tomcat/xwiki/docker-entrypoint.sh M 17/postgres-tomcat/xwiki/hibernate.cfg.xml M 18.4/mariadb-tomcat/Dockerfile M 18.4/mariadb-tomcat/xwiki/docker-entrypoint.sh M 18.4/mysql-tomcat/Dockerfile M 18.4/mysql-tomcat/xwiki/docker-entrypoint.sh M 18.4/postgres-tomcat/Dockerfile M 18.4/postgres-tomcat/xwiki/docker-entrypoint.sh M 18.4/postgres-tomcat/xwiki/hibernate.cfg.xml M 18/mariadb-tomcat/Dockerfile M 18/mariadb-tomcat/xwiki/docker-entrypoint.sh M 18/mysql-tomcat/Dockerfile M 18/mysql-tomcat/xwiki/docker-entrypoint.sh M 18/postgres-tomcat/Dockerfile M 18/postgres-tomcat/xwiki/docker-entrypoint.sh M 18/postgres-tomcat/xwiki/hibernate.cfg.xml M template/Dockerfile M template/xwiki/docker-entrypoint.sh M template/xwiki/hibernate.cfg.xml Log Message: ----------- XDOCKER-338: Add possibilty to configure database port when using docker image * Add a DB_PORT environment variable, added to the host in the JDBC URL of hibernate.cfg.xml when it's set, so that a DB listening on a port other than the driver's default can be used. * Remove the hardcoded 5432 port from the PostgreSQL JDBC URL. The driver connects to 5432 when the URL carries no port, which makes the three DB variants consistent and lets DB_PORT set the port for all of them. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-docker/settings/notifications