smart-on-fhir / hapi

HAPI FHIR Server With Sample Patients
Other
44 stars 19 forks source link

Server Address in hapi.properties keep resetting to "server_address=http://localhost:8080/hapi-fhir-jpaserver/fhir/" #4

Open azizul90 opened 3 years ago

azizul90 commented 3 years ago

Hi ,as stated in the title I have issue to configure the server address in hapi.properties. Before starting the container i change the server address to "server_address=http://localhost:8080/fhir/dstu3". However, after i run container, i only can access my fhir server via "http://localhost:8080/hapi-fhir-jpaserver/" not "http://localhost:8080/fhir/dstu3". Changing the server name during container running and restart the container also not work. Is there any solution to change the server name ?

FYI, I using "smartonfhir/hapi-5:r3-full" image.

WeisSeb commented 2 years ago

This probably is a bit late for you, but in case other people have that problem: You can use the environment variables PORT and HOST to set the server name and port when starting the container with docker run