tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Update configuration to be more compatible with cloud deployments #69

Closed dorranh closed 1 year ago

dorranh commented 1 year ago

This PR makes two small changes which better allow the application to be deployed in the cloud.

  1. Enabled the Gremlin Server port used by the API server to be configured via an environment variable.
  2. Updated the Gremlin Server / sqlg config to read sqlg.properties configuration from a separate /secrets directory which is distinct from where other configuration files are stored. This allows for use cases where you want to mount the sqlg configuration, which contains sensitive information, into the Gremlin Server docker container as a directory volume mount. This directory can also be used for mounting other secrets to the container in the future.