Skip to content

HVC Services — Configuration

  • Project: hvc-services

Config keys

KeyPurpose
defaultsGlobal defaults (DefaultsConfiguration)
storageStorage config for Hvc.Storage
email / mailgunEmailConfig, Mailgun API key + URL
environmentsArray of environment names; one EmailSenderService per environment
Connection string devThe outbox/events database

Development config

In development the service loads an extra config file from the DEV_CONFIG_PATH environment variable:

text
{DEV_CONFIG_PATH}/hvc/services-config/appsettings.json

This points at the shared, non-committed config folder used across environments.

Example shape

json
{
  "defaults": { "...": "..." },
  "storage": { "...": "..." },
  "email": { "...": "..." },
  "mailgun": { "url": "...", "apiKey": "..." },
  "environments": [ "dev", "test", "prod" ],
  "ConnectionStrings": { "dev": "Server=...;Database=...;" }
}

Released under the MIT License.