Appearance
HVC Services — Configuration
- Project:
hvc-services
Config keys
| Key | Purpose |
|---|---|
defaults | Global defaults (DefaultsConfiguration) |
storage | Storage config for Hvc.Storage |
email / mailgun | EmailConfig, Mailgun API key + URL |
environments | Array of environment names; one EmailSenderService per environment |
Connection string dev | The 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.jsonThis 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=...;" }
}