Webhooks
Configuration
Runtime configuration and environment variables for Webhooks
Settings file
services/webhooks/config/settings.py- Local overrides can be placed in
services/webhooks/.env.
Environment variables
| Variable | Required | Default | Purpose |
|---|---|---|---|
PROJECT_NAME | No | Nest Data Pipeline - Webhooks | Service display name |
API_V1_STR | No | /api/v1 | API prefix |
DEBUG | No | false | Enables debug mode |
SENTRY_ENVIRONMENT | No | production | Sentry environment tag |
ALLOWED_ORIGINS | No | ["*"] | CORS allowlist |
GCP_PROJECT_ID | No | resolved via metadata | GCP project id |
CLOUD_TASKS_SERVICE_ACCOUNT | Yes | none | OIDC token service account |
CLOUD_TASKS_LOCATION | Yes | none | Cloud Tasks region |
CLOUD_TASKS_QUEUE_ID | Yes | nest-data-handler | Cloud Tasks queue id |
HANDLER_SERVICE_BASE_URL | Yes | none | Base URL for internal Handler Cloud Run service |
Secrets (Secret Manager)
| Secret | Required | Purpose |
|---|---|---|
WEBHOOKS_API_KEY | Yes | API key used by X-API-Key middleware |
WEBHOOKS_SENTRY_DSN | No | Error and trace reporting |
Last updated on