fluree / server

Fluree Server - Operates Fluree in consensus, fault-tolerant, redundant
12 stars 1 forks source link

User JSON Configuration #78

Closed zonotope closed 2 months ago

zonotope commented 2 months ago

This patch changes the main configuration file format from edn to json. It also allows users to override default configuration values in two ways: using a "profiles" key in the json configuration, and through environment variables.

An example configuration file can be found in resource/config.json.

This patch also adds initial validation of user configurations, but the validations are only a first pass and are not as restrictive and precise as they should be, and we should tighten them up later after the config format stabilizes.

This patch also has some cleanup left over from #75