service-preprocessing/.env.example
2025-10-27 16:56:04 +01:00

32 lines
1.1 KiB
Text

# Preprocessor Configuration
# Path to the preprocessor configuration YAML file (relative to project root)
# OPTIONAL: Only if you want to use /api/v1/dataprocessor/update-db endpoint
# Otherwise you can directly pass preprocessor config in the request body
# at /api/v1/dataprocessor/update-db-with-config
# Example YAML: pp-config.yaml in the src/ directory
PP_CONFIG_PATH="src/pp-config.yaml"
# API Keys
# API key for the preprocessor service
PP_API_KEY="your-preprocessor-api-key-here"
# API key for database endpoint access
DB_ENDPOINT_API_KEY="your-database-endpoint-api-key-here"
# Database Configuration
# Note: DB_PATH is automatically set based on DATA_DIR environment variable
# Local: defaults to data/database.sqlite
# Azure: set DATA_DIR=/home/_data in Azure App Settings
# Power BI Configuration
# Power BI dataset identifier
POWERBI_DATASET_ID="your-powerbi-dataset-id"
# Power BI client ID for Azure AD authentication
POWERBI_CLIENT_ID="your-powerbi-client-id"
# Power BI client secret for Azure AD authentication
POWERBI_CLIENT_SECRET="your-powerbi-client-secret"
# Power BI tenant ID (Azure AD tenant)
POWERBI_TENANT_ID="your-powerbi-tenant-id"