Stream: hapi
Topic: Change Context Path of HAPI-FHIR Starter Project
Alexander Kiel (Oct 26 2020 at 19:22):
Can I change the context path, which defaults to /fhir
using the Docker image from: https://hub.docker.com/r/hapiproject/hapi ? I would like to change if to something completely custom, a project name. It would be also ok to have /<project-name>/fhir
but I need something custom, because otherwise, I have to allocate a subdomain for the project.
Jens Villadsen (Oct 26 2020 at 19:25):
Not directly - see https://github.com/hapifhir/hapi-fhir-jpaserver-starter#deploying-to-an-application-server on how to change the context path
Jens Villadsen (Oct 26 2020 at 19:26):
Or https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/137
Jens Villadsen (Oct 26 2020 at 20:34):
@Alexander Kiel https://www.baeldung.com/spring-boot-context-path#1-usingapplicationproperties-yml this may work as well
Alexander Kiel (Oct 26 2020 at 20:38):
Thanks @Jens Villadsen I try to get this working with the combination of a Docker image and config. So please no programming here.
Jens Villadsen (Oct 26 2020 at 20:41):
Then I would recommend to try the last link
Alexander Kiel (Oct 27 2020 at 07:13):
@Jens Villadsen Thanks. I tried the config from the balding article, but it doesn't work. So I will use a subdomain.
Jens Villadsen (Oct 27 2020 at 07:17):
Rename the war instead
Alexander Kiel (Oct 27 2020 at 08:28):
Jens Villadsen said:
Rename the war instead
No, I just want to use the Docker image. I can't afford to put more work into this project.
Last updated: Apr 12 2022 at 19:14 UTC