nextgenhealthcare / connect-docker

Official Dockerfiles for Connect https://hub.docker.com/r/nextgenhealthcare/connect
Mozilla Public License 2.0
78 stars 51 forks source link

How to set configurationmap.location = database from a kubernetes manifest #26

Closed IQHT-DGH closed 1 year ago

IQHT-DGH commented 1 year ago

I have a mirth container stood up in kubernetes, and have managed using the deployment manifest file to setup database access, but I am not able to do the same with the configuration.properties file. From research I understand that the configuration.properties can be persisted in the database, but I'm unable to find how to pass that setting in the kubernetes deployment manifest. Any pointers on how I might acheive passing this setting would be gratefully appreciated.

pladesma commented 1 year ago

You should be able to set configurationmap.location = database using an environment variable when starting the Docker container. The environment variable would be _MP_CONFIGURATIONMAP_LOCATION='database'. See this section of the README.

Closing this issue as it's not a defect or feature request.