FHIR Chat · Overriding Properties using Environment variables · implementers

Stream: implementers

Topic: Overriding Properties using Environment variables


view this post on Zulip dsh (Dec 23 2019 at 00:34):

I am running JPA Starter Server using Docker and looking for a way to specify datasource.url using environment variable, so far I have tried using

datasource.url=${POSTGRES_URL}

in properties file. And setting corresponding environment variable using docker run -e POSTGRES_URL=jdbc:postgresql://XXXX:5432/hapi but this does not work.

Any idea on how to make it work?


Last updated: Apr 12 2022 at 19:14 UTC