Interface
Configuration
Runtime configuration and environment variables for Interface
Settings file
services/interface/config/settings.py- Local overrides can be placed in
services/interface/.env.
Environment variables
| Variable | Required | Default | Purpose |
|---|---|---|---|
PROJECT_NAME | No | Nest Data Pipeline - Interface API | Service display name |
API_V1_STR | No | /api/v1 | v1 API prefix |
API_V2_STR | No | /api/v2 | v2 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 |
SPANNER_INSTANCE_ID | Yes | none | Spanner instance id |
SPANNER_DATABASE_ID | Yes | none | Spanner database id |
Secrets (Secret Manager)
| Secret | Required | Purpose |
|---|---|---|
INTERFACE_API_KEY | Yes | API key used by X-API-Key middleware |
INTERFACE_SENTRY_DSN | No | Error and trace reporting |
Last updated on