WikiWatershed / mmw-geoprocessing

A Spark Job Server job for Model My Watershed geoprocessing.
Apache License 2.0
6 stars 6 forks source link

Make application settings overridable by environment variables #100

Closed rajadain closed 2 years ago

rajadain commented 2 years ago

Overview

Previously these settings were baked in, and needed a new release for any changes (see #98). This makes those settings overridable with environment variables, so that changing these does not require a new release in the future. When no variables are provided, the default values are used. This was implemented following the guidance in: https://github.com/lightbend/config#optional-system-or-env-variable-overrides.

Connects https://github.com/WikiWatershed/model-my-watershed/issues/3446