FHIR Chat · How to override application.yaml like hapi.properties · hapi

Stream: hapi

Topic: How to override application.yaml like hapi.properties


view this post on Zulip Durant Schoon (Sep 22 2020 at 17:47):

Hi,

I'm finally getting around to upgrading to v5.1.0.

There used to be a way to override hapi.properties like this:

CMD ["java","-Dhapi.properties=/hapi-config/hapi.properties","-jar","/usr/local/jetty/start.jar"]

Is there/what is the equivalent for overriding application.yaml?

Thanks in advance,

view this post on Zulip Jens Villadsen (Sep 22 2020 at 19:43):

See https://github.com/hapifhir/hapi-fhir-jpaserver-starter#configuration-via-environment-variables

view this post on Zulip Jens Villadsen (Sep 22 2020 at 19:43):

and https://github.com/hapifhir/hapi-fhir-jpaserver-starter#configuration-via-overridden-applicationyaml-file

view this post on Zulip Durant Schoon (Sep 22 2020 at 20:18):

Oh there it is in the updated README. That's great I can just pass the .yaml file. Thanks, Jens!

view this post on Zulip Daniel Vreeman (Sep 22 2020 at 21:12):

:+1: Perfect, I was just looking for how to pass a custom .yaml file too. Thanks!


Last updated: Apr 12 2022 at 19:14 UTC