Open hsolbrig opened 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:
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.