Re: Docker support for ConfiguredGraphFactory
Michael Kaiser-Cross <mkaise...@...>
Hi Mike,toggle quoted messageShow quoted text
I think the problem might be that the docker image replaces parts of the gremlin-server.yaml file at runtime using env variables. So not sure if copying the gremlin-server.yaml file will be a reliable way of setting the configuration as it is meant to be configured through env variables.
I was trying use ConfigurationManagementGraph in docker a while back however I found that you can't set the graphs.ConfigurationManagementGraph property without getting a yaml syntax error. The reason is simple which is that there isn't a true yaml parser but rather a basic sed replace command for manipulating the yaml file. I believe this was a temporary solution to cover basic use cases but it does not work with nested properties and was meant to eventually be replaced by an actual yaml parser. I made this pull request to do just that a while back but never got the merge completely finished. Here is the pull request https://github.com/JanusGraph/janusgraph-docker/pull/55/commits. I'll see if I can get this moving again.
On Friday, October 16, 2020 at 6:34:12 PM UTC-4 Mike Thomsen wrote: