Multitenant implementation with custom Domain, theme per vendor
This commit is contained in:
@@ -61,6 +61,21 @@ class Settings(BaseSettings):
|
||||
log_level: str = "INFO"
|
||||
log_file: Optional[str] = None
|
||||
|
||||
# Platform domain configuration
|
||||
platform_domain: str = "platform.com" # Your main platform domain
|
||||
|
||||
# Custom domain features
|
||||
allow_custom_domains: bool = True # Enable/disable custom domains
|
||||
require_domain_verification: bool = True # Require DNS verification
|
||||
|
||||
# SSL/TLS configuration for custom domains
|
||||
ssl_provider: str = "letsencrypt" # or "cloudflare", "manual"
|
||||
auto_provision_ssl: bool = False # Set to True if using automated SSL
|
||||
|
||||
# DNS verification
|
||||
dns_verification_prefix: str = "_letzshop-verify"
|
||||
dns_verification_ttl: int = 3600
|
||||
|
||||
model_config = {"env_file": ".env"} # Updated syntax for Pydantic v2
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user