[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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user