[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.

This commit is contained in:
2026-03-07 14:08:42 +00:00
parent 35c30bc39a
commit d1b77fd2f6
415 changed files with 24100 additions and 13301 deletions

View File

@@ -14,7 +14,7 @@ try:
DEBUG: bool = True
# Database (FINAL CORRECT PATH for Docker Container)
DATABASE_URL: str = "sqlite:////app/companies_v3_fixed_2.db"
DATABASE_URL: str = "sqlite:////data/companies_v3_fixed_2.db"
# API Keys
GEMINI_API_KEY: Optional[str] = None
@@ -22,7 +22,10 @@ try:
SERP_API_KEY: Optional[str] = None
# Paths
LOG_DIR: str = "/app/logs_debug"
LOG_DIR: str = "/app/Log_from_docker"
# Public URL
APP_BASE_URL: str = "http://localhost:8090"
class Config:
env_file = ".env"
@@ -36,11 +39,12 @@ except ImportError:
APP_NAME = "Company Explorer"
VERSION = "0.7.3"
DEBUG = True
DATABASE_URL = "sqlite:////app/companies_v3_fixed_2.db" # FINAL CORRECT PATH
# HARDCODED PATH TO FORCE CONSISTENCY
DATABASE_URL = "sqlite:////data/companies_v3_fixed_2.db"
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
SERP_API_KEY = os.getenv("SERP_API_KEY")
LOG_DIR = "/app/logs_debug"
LOG_DIR = "/app/Log_from_docker"
settings = FallbackSettings()