gateway/config.ini

46 lines
1.3 KiB
INI

# Static Configuration Properties
# Using flattened key format with prefixes for consistent access
# Auth configuration
Auth_ALGORITHM = HS256
Auth_TOKEN_TYPE = bearer
Auth_RESET_TOKEN_EXPIRY_HOURS = 24
# File management configuration
File_Management_MAX_UPLOAD_SIZE_MB = 50
File_Management_CLEANUP_INTERVAL = 240
# Security configuration (for future use)
Security_PASSWORD_MIN_LENGTH = 8
Security_PASSWORD_REQUIRE_UPPERCASE = True
Security_PASSWORD_REQUIRE_LOWERCASE = True
Security_PASSWORD_REQUIRE_NUMBERS = True
Security_PASSWORD_REQUIRE_SPECIAL = True
Security_FAILED_LOGIN_LIMIT = 5
Security_LOCK_DURATION_MINUTES = 30
# Content Neutralization configuration
Content_Neutralization_ENABLED = False
# Web Search configuration
Web_Search_MAX_QUERY_LENGTH = 400
Web_Search_MAX_RESULTS = 20
Web_Search_MIN_RESULTS = 1
# Web Crawl configuration
Web_Crawl_TIMEOUT = 30
Web_Crawl_MAX_RETRIES = 3
Web_Crawl_RETRY_DELAY = 2
# Web Research configuration
Web_Research_MAX_DEPTH = 2
Web_Research_MAX_LINKS_PER_DOMAIN = 4
Web_Research_CRAWL_TIMEOUT_MINUTES = 10
# STAC API Connector configuration (Swiss Topo)
Connector_StacSwisstopo_BASE_URL = https://data.geo.admin.ch/api/stac/v1
Connector_StacSwisstopo_TIMEOUT = 30
Connector_StacSwisstopo_MAX_RETRIES = 3
Connector_StacSwisstopo_RETRY_DELAY = 1.0
Connector_StacSwisstopo_ENABLE_CACHE = True