LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
321 stars 156 forks source link

Run Docker Container while passing data into it from local machine #4229

Open jordanperrin opened 1 year ago

jordanperrin commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen. I don't know if there perhaps already an implementation for this but I have not found anything clear and concise about being able up to start up FHIR server container while being able to pass a directory on my local machine to the data I would like to upload to the server. Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. I've attempted spinnig up a container then trying to use $import to upload the data but I did not get anywhere with that. Perhaps this is possible and I am just doing it incorrectly, in that case if someone could describe how to go about it properly that would be helpful. Acceptance Criteria

  1. GIVEN docker container AND passing a local dir to the ndjson files WHEN starting up the container from the command line AND run the container THEN be able to access the data from the different FHIR resources AND close the container AND if running the container with volume have the data still be in the db

Additional context Add any other context or screenshots about the feature request here.