fhircat / FHIRCat

Enabling the Semantics of FHIR and Terminologies for Clinical and Translational Research
5 stars 0 forks source link

Need a portable context server #6

Open hsolbrig opened 4 years ago

hsolbrig commented 4 years ago

As we will be experimenting with different approaches to context, it would be really handy to have a dockerized JSON-LD context server -- something with an nginx service inside that takes an argument of the github repository URI (which should be resolvable to any branch or state). The server clones the repository and serves its content. The nginx config should support a conneg so that one can request json, html, rdf flavors, etc.

What would be quite handy would be to have a protected URL where one could pass a limited set of git commands including:

along with, perhaps, a command to remove an existing repository.

dnstone commented 4 years ago

I have created a basic docker image for serving files from a directory. https://github.com/dnstone/fhir-context-server

I have not implemented any functionality for the later request handle git commands via docker. I am not sure what kind of use cases we are considering and we want to handle authentication.

Current options for updating files:

  1. use a sftp client to update and modify files
  2. ssh onto server to use git etc.