Stream: hapi
Topic: How to override application.yaml like hapi.properties
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,
Jens Villadsen (Sep 22 2020 at 19:43):
See https://github.com/hapifhir/hapi-fhir-jpaserver-starter#configuration-via-environment-variables
Jens Villadsen (Sep 22 2020 at 19:43):
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!
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