Adds ability to change HAPI FHIR JPA server's port with the environment variable server.port

This commit is contained in:
Ben Li-Sauerwine
2021-09-14 10:52:45 -04:00
committed by Jens Kristian Villadsen
parent e9e9f5d89e
commit 9f65314537
3 changed files with 2 additions and 3 deletions

View File

@@ -39,7 +39,7 @@
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
<Connector port="${server.port}" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxThreads="${server.tomcat.max-threads}"